diff options
| author | Victor Feyens <vfe@odoo.com> | 2020-03-10 18:07:12 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-03-20 16:21:25 +0100 |
| commit | a3ded9043d34229e4547e16625a86dfbebdbcfaf (patch) | |
| tree | c3269408cd9534e7abc63b6c730a9fc7108997bc /addons/iap | |
| parent | 532c083cbbe0ee6e7a940e2bdc9c677bd56b62fa (diff) | |
[IMP] *: declare ir.rule in noupdate
ir.rule are default values but can be customized based on the
company's policy and needs.
This is typically a record that is in noupdate as should be
customization-friendly.
Diffstat (limited to 'addons/iap')
| -rw-r--r-- | addons/iap/security/ir_rule.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/iap/security/ir_rule.xml b/addons/iap/security/ir_rule.xml index a81e1542854..3670899f16e 100644 --- a/addons/iap/security/ir_rule.xml +++ b/addons/iap/security/ir_rule.xml @@ -1,5 +1,5 @@ -<odoo> - <data> +<odoo noupdate="1"> + <record id="user_iap_account" model="ir.rule"> <field name="name">User IAP Account</field> <field name="model_id" ref="model_iap_account"/> @@ -7,5 +7,5 @@ <!-- partners can CUD services linked to themselves --> <field name="domain_force">['|', ('company_ids', '=', False), ('company_ids', 'in', company_ids)]</field> </record> - </data> + </odoo>
\ No newline at end of file |
