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/point_of_sale/security | |
| 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/point_of_sale/security')
| -rw-r--r-- | addons/point_of_sale/security/point_of_sale_security.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/point_of_sale/security/point_of_sale_security.xml b/addons/point_of_sale/security/point_of_sale_security.xml index 095c61fa999..57fa5950b7d 100644 --- a/addons/point_of_sale/security/point_of_sale_security.xml +++ b/addons/point_of_sale/security/point_of_sale_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="rule_pos_bank_statement_user" model="ir.rule"> <field name="name">Point Of Sale Bank Statement POS User</field> @@ -78,7 +79,6 @@ <field name="domain_force">[('company_id', 'in', company_ids)]</field> </record> - <data noupdate="1"> <record id="base.default_user" model="res.users"> <field name="groups_id" eval="[(4,ref('point_of_sale.group_pos_manager'))]"/> </record> |
