Browse Source

[IMP] Add default 'ribbon.name' configuration parameter

pull/230/head
Sylvain Calador 9 years ago
parent
commit
655284b104
  1. 1
      web_environment_ribbon/__openerp__.py
  2. 12
      web_environment_ribbon/data/ribbon_data.xml

1
web_environment_ribbon/__openerp__.py

@ -31,6 +31,7 @@
], ],
"data": [ "data": [
'view/base_view.xml', 'view/base_view.xml',
'data/ribbon_data.xml',
], ],
"update_xml": [], "update_xml": [],
"demo_xml": [], "demo_xml": [],

12
web_environment_ribbon/data/ribbon_data.xml

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<!-- Add ribbon name default configuration parameter -->
<record id="default_ribbon_name" model="ir.config_parameter">
<field name="key">ribbon.name</field>
<field name="value">TEST</field>
</record>
</data>
</openerp>
Loading…
Cancel
Save