Browse Source

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

pull/46/head
Cédric Pigeon 10 years ago
parent
commit
3c6ca4fdbb
  1. 2
      help_online/__openerp__.py
  2. 6
      help_online/data/ir_config_parameter_data.xml
  3. 2
      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. help page.
The help pages are created and managed via the website Module. 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': [
'data/help_auto_backup.xml', # must always be the first 'data/help_auto_backup.xml', # must always be the first

6
help_online/data/ir_config_parameter_data.xml

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

2
help_online/security/help_online_rules.xml

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data>
<data noupdate="1">
<record id="online_help_confidential_rule" model="ir.rule"> <record id="online_help_confidential_rule" model="ir.rule">
<field name="name">Online Help Hidden by Default</field> <field name="name">Online Help Hidden by Default</field>
<field name="model_id" ref="base.model_ir_ui_view"/> <field name="model_id" ref="base.model_ir_ui_view"/>

Loading…
Cancel
Save