Browse Source

[FIX] change updatable property of data + note for record rules in description

pull/874/head
Cédric Pigeon 10 years ago
committed by Quentin Theuret
parent
commit
d201ac5bde
  1. 2
      help_online/__openerp__.py
  2. 8
      help_online/data/ir_config_parameter_data.xml
  3. 4
      help_online/security/help_online_rules.xml

2
help_online/__openerp__.py

@ -43,6 +43,8 @@ the group 'Help writer', the module generate a button allowing the creation an
help page.
The help pages are created and managed via the website Module.
Note: When updating the page prefix parameters, the record rules must be adapted.
""",
'data': [
'data/help_auto_backup.xml', # must always be the first

8
help_online/data/ir_config_parameter_data.xml

@ -1,25 +1,25 @@
<?xml version='1.0' encoding='UTF-8' ?>
<openerp>
<data noupdate="0">
<data noupdate="1">
<record id="help_online_autobackup_path" model="ir.config_parameter">
<field name="key">help_online_autobackup_path</field>
<field name="value">False</field>
</record>
</data>
<data noupdate="0">
<data noupdate="1">
<record id="help_online_page_prefix" model="ir.config_parameter">
<field name="key">help_online_page_prefix</field>
<field name="value">help</field>
</record>
</data>
<data noupdate="0">
<data noupdate="1">
<record id="help_online_template_prefix" model="ir.config_parameter">
<field name="key">help_online_template_prefix</field>
<field name="value">help-template</field>
</record>
</data>
</openerp>
</openerp>

4
help_online/security/help_online_rules.xml

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<data noupdate="1">
<record id="online_help_confidential_rule" model="ir.rule">
<field name="name">Online Help Hidden by Default</field>
<field name="model_id" ref="base.model_ir_ui_view"/>
@ -29,4 +29,4 @@
<field name="perm_create" eval="0"/><field name="perm_unlink" eval="0"/>
</record>
</data>
</openerp>
</openerp>
Loading…
Cancel
Save