Skip to content

Commit

Permalink
Merge pull request openeducat#71 from ajaychauhan727/9.0
Browse files Browse the repository at this point in the history
Added module openeducat_support.
  • Loading branch information
parthivgls committed Jun 11, 2016
2 parents 9c3d098 + e4c5254 commit 62a937b
Show file tree
Hide file tree
Showing 9 changed files with 607 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openeducat_support/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
OpenEduCat Support
==================

Change look & links in Application Planner.
21 changes: 21 additions & 0 deletions openeducat_support/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Tech-Receptives Solutions Pvt. Ltd.
# Copyright (C) 2009-TODAY Tech-Receptives(<http://www.techreceptives.com>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################

37 changes: 37 additions & 0 deletions openeducat_support/__openerp__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Tech-Receptives Solutions Pvt. Ltd.
# Copyright (C) 2009-TODAY Tech-Receptives(<http://www.techreceptives.com>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
{
'name': 'OpenEduCat Support',
'category': 'Planner',
'summary': 'Help to configure OpenEduCat',
'version': '2.4.0',
"sequence": 3,
'author': 'Tech Receptives',
'website': 'http://www.openeducat.org',
'depends': ['web'],
'data': [
'views/web_planner_templates.xml',
],
'qweb': ['static/src/xml/web_planner.xml', 'static/src/xml/web.xml'],
'installable': True,
'auto_install': False,
}

Binary file added openeducat_support/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions openeducat_support/static/src/js/user_menu.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
odoo.define('web_user_menu', function(require) {
"use strict";

var UserMenu = require('web.UserMenu');

UserMenu.include({
on_menu_documentation: function() {
window.open('http://doc.openeducat.org/', '_blank');
},
on_menu_support: function() {
window.open('https://www.openeducat.org/page/support', '_blank');
},
on_menu_account: function() {
window.open('https://www.openeducat.org/web/login', '_blank');
},
});
});
Loading

0 comments on commit 62a937b

Please sign in to comment.