summaryrefslogtreecommitdiff
path: root/addons/lunch/security
diff options
context:
space:
mode:
authorVictor Feyens <vfe@odoo.com>2020-03-10 18:07:12 +0100
committerMartin Trigaux <mat@odoo.com>2020-03-20 16:21:25 +0100
commita3ded9043d34229e4547e16625a86dfbebdbcfaf (patch)
treec3269408cd9534e7abc63b6c730a9fc7108997bc /addons/lunch/security
parent532c083cbbe0ee6e7a940e2bdc9c677bd56b62fa (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/lunch/security')
-rw-r--r--addons/lunch/security/lunch_security.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/lunch/security/lunch_security.xml b/addons/lunch/security/lunch_security.xml
index 8b8c17e80e6..4da736313e8 100644
--- a/addons/lunch/security/lunch_security.xml
+++ b/addons/lunch/security/lunch_security.xml
@@ -16,6 +16,7 @@
<field name="users" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/>
</record>
+ <data noupdate="1">
<record id="lunch_mind_your_own_food_money" model="ir.rule">
<field name="name">lunch.cashmove: do not see other people's cashmove</field>
@@ -60,7 +61,6 @@
<field name="groups" eval="[(4, ref('lunch.group_lunch_manager'))]"/>
</record>
- <data noupdate="1">
<record id="base.default_user" model="res.users">
<field name="groups_id" eval="[(4,ref('lunch.group_lunch_manager'))]"/>
</record>