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/maintenance | |
| 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/maintenance')
| -rw-r--r-- | addons/maintenance/security/maintenance.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/maintenance/security/maintenance.xml b/addons/maintenance/security/maintenance.xml index 5b4912fd03c..e3f31dccde2 100644 --- a/addons/maintenance/security/maintenance.xml +++ b/addons/maintenance/security/maintenance.xml @@ -8,6 +8,8 @@ <field name="comment">The user will be able to manage equipments.</field> </record> + <data noupdate="1"> + <!-- Rules --> <record id="equipment_request_rule_user" model="ir.rule"> <field name="name">Users are allowed to access their own maintenance requests</field> @@ -65,4 +67,6 @@ <field name="groups_id" eval="[(4, ref('group_equipment_manager'))]"/> </record> + </data> + </odoo> |
