Browse Source

Merge pull request #26 from hbrunn/8.0-disable_openerp_online

[ADD] disable_openerp_online
pull/40/head
Pedro M. Baeza 11 years ago
parent
commit
7841e39ca7
  1. 7
      __unported__/disable_openerp_online/data/ir_ui_menu.xml
  2. 0
      disable_openerp_online/__init__.py
  3. 12
      disable_openerp_online/__openerp__.py
  4. 0
      disable_openerp_online/data/ir_cron.xml
  5. 7
      disable_openerp_online/data/ir_ui_menu.xml
  6. 0
      disable_openerp_online/i18n/disable_openerp_online.pot
  7. 0
      disable_openerp_online/model/__init__.py
  8. 0
      disable_openerp_online/model/publisher_warranty_contract.py
  9. 0
      disable_openerp_online/static/description/icon.png
  10. 0
      disable_openerp_online/static/src/js/disable_openerp_online.js
  11. 0
      disable_openerp_online/static/src/xml/base.xml
  12. 10
      disable_openerp_online/views/disable_openerp_online.xml

7
__unported__/disable_openerp_online/data/ir_ui_menu.xml

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<delete model="ir.ui.menu" id="base.module_mi" />
<delete model="ir.ui.menu" id="base.menu_module_updates" />
</data>
</openerp>

0
__unported__/disable_openerp_online/__init__.py → disable_openerp_online/__init__.py

12
__unported__/disable_openerp_online/__openerp__.py → disable_openerp_online/__openerp__.py

@ -19,7 +19,7 @@
#
##############################################################################
{
"name": "Remove openerp.com bindings",
"name": "Remove odoo.com bindings",
"version": "1.1",
"author": "Therp BV",
"complexity": "normal",
@ -30,8 +30,8 @@ come with the standard code:
* update notifier code is deactivated and the function is overwritten
* apps and updates menu items in settings are removed
* help and account menu items in user menu are removed
* prevent lookup of OPW for current database uuid and resulting"""
""" 'unsupported' warning
* prevent lookup of OPW for current database uuid and resulting
'unsupported' warning
""",
"category": "",
"depends": [
@ -39,14 +39,10 @@ come with the standard code:
'mail',
],
"data": [
"views/disable_openerp_online.xml",
'data/ir_ui_menu.xml',
'data/ir_cron.xml',
],
"js": [
'static/src/js/disable_openerp_online.js',
],
"css": [
],
"qweb": [
'static/src/xml/base.xml',
],

0
__unported__/disable_openerp_online/data/ir_cron.xml → disable_openerp_online/data/ir_cron.xml

7
disable_openerp_online/data/ir_ui_menu.xml

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<delete model="ir.ui.menu" search="[('id', '=', ref('base.module_mi'))]" />
<delete model="ir.ui.menu" search="[('id', '=', ref('base.menu_module_updates'))]" />
</data>
</openerp>

0
__unported__/disable_openerp_online/i18n/disable_openerp_online.pot → disable_openerp_online/i18n/disable_openerp_online.pot

0
__unported__/disable_openerp_online/model/__init__.py → disable_openerp_online/model/__init__.py

0
__unported__/disable_openerp_online/model/publisher_warranty_contract.py → disable_openerp_online/model/publisher_warranty_contract.py

0
__unported__/disable_openerp_online/static/src/img/icon.png → disable_openerp_online/static/description/icon.png

Before

Width: 80  |  Height: 80  |  Size: 4.0 KiB

After

Width: 80  |  Height: 80  |  Size: 4.0 KiB

0
__unported__/disable_openerp_online/static/src/js/disable_openerp_online.js → disable_openerp_online/static/src/js/disable_openerp_online.js

0
__unported__/disable_openerp_online/static/src/xml/base.xml → disable_openerp_online/static/src/xml/base.xml

10
disable_openerp_online/views/disable_openerp_online.xml

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<template id="assets_backend" name="disable_openerp_online assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/disable_openerp_online/static/src/js/disable_openerp_online.js"></script>
</xpath>
</template>
</data>
</openerp>
Loading…
Cancel
Save