[ADD] port disable_openerp_online
parent
f83737f6e8
commit
b204ed7f71
|
@ -30,8 +30,8 @@ come with the standard code:
|
||||||
* update notifier code is deactivated and the function is overwritten
|
* update notifier code is deactivated and the function is overwritten
|
||||||
* apps and updates menu items in settings are removed
|
* apps and updates menu items in settings are removed
|
||||||
* help and account menu items in user menu are removed
|
* help and account menu items in user menu are removed
|
||||||
* prevent lookup of OPW for current database uuid and resulting"""
|
* prevent lookup of OPW for current database uuid and resulting
|
||||||
""" 'unsupported' warning
|
'unsupported' warning
|
||||||
""",
|
""",
|
||||||
"category": "",
|
"category": "",
|
||||||
"depends": [
|
"depends": [
|
||||||
|
@ -39,14 +39,10 @@ come with the standard code:
|
||||||
'mail',
|
'mail',
|
||||||
],
|
],
|
||||||
"data": [
|
"data": [
|
||||||
|
"views/disable_openerp_online.xml",
|
||||||
'data/ir_ui_menu.xml',
|
'data/ir_ui_menu.xml',
|
||||||
'data/ir_cron.xml',
|
'data/ir_cron.xml',
|
||||||
],
|
],
|
||||||
"js": [
|
|
||||||
'static/src/js/disable_openerp_online.js',
|
|
||||||
],
|
|
||||||
"css": [
|
|
||||||
],
|
|
||||||
"qweb": [
|
"qweb": [
|
||||||
'static/src/xml/base.xml',
|
'static/src/xml/base.xml',
|
||||||
],
|
],
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
|
@ -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…
Reference in New Issue