[ADD] port disable_openerp_online

pull/26/head
Holger Brunn 2014-07-22 22:11:57 +02:00
parent f83737f6e8
commit b204ed7f71
11 changed files with 13 additions and 7 deletions

View File

@ -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',
],

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -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>