Skip to content

Commit

Permalink
Merge pull request OCA#26 from hbrunn/8.0-disable_openerp_online
Browse files Browse the repository at this point in the history
[ADD] disable_openerp_online
  • Loading branch information
pedrobaeza committed Aug 13, 2014
2 parents 7fc2ef4 + 97b570b commit 7841e39
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 15 deletions.
7 changes: 0 additions & 7 deletions __unported__/disable_openerp_online/data/ir_ui_menu.xml

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#
##############################################################################
{
"name": "Remove openerp.com bindings",
"name": "Remove odoo.com bindings",
"version": "1.1",
"author": "Therp BV",
"complexity": "normal",
Expand All @@ -30,23 +30,19 @@
* 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": [
'base',
'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',
],
Expand Down
File renamed without changes.
7 changes: 7 additions & 0 deletions disable_openerp_online/data/ir_ui_menu.xml
Original file line number Diff line number Diff line change
@@ -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>
File renamed without changes.
10 changes: 10 additions & 0 deletions disable_openerp_online/views/disable_openerp_online.xml
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 7841e39

Please sign in to comment.