diff options
| author | Victor Feyens <vfe@odoo.com> | 2020-03-10 18:06:44 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-03-20 16:15:40 +0100 |
| commit | 532c083cbbe0ee6e7a940e2bdc9c677bd56b62fa (patch) | |
| tree | e5602b92b48d3b1405a0f9d93459cf6612204cc1 /addons/event/security/event_security.xml | |
| parent | f6c06bd0b87dac11d76a3134eb61c7ef4eb59270 (diff) | |
[IMP] *: remove global field definition in ir rules xml
It is a computed field, there is no need to manually set its value.
Diffstat (limited to 'addons/event/security/event_security.xml')
| -rw-r--r-- | addons/event/security/event_security.xml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/event/security/event_security.xml b/addons/event/security/event_security.xml index 08dd739cf52..613625f2c78 100644 --- a/addons/event/security/event_security.xml +++ b/addons/event/security/event_security.xml @@ -29,7 +29,6 @@ <record model="ir.rule" id="event_event_company_rule"> <field name="name">Event: multi-company</field> <field name="model_id" ref="model_event_event"/> - <field name="global" eval="True"/> <field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids), @@ -39,7 +38,6 @@ <record model="ir.rule" id="event_registration_company_rule"> <field name="name">Event/Registration: multi-company</field> <field name="model_id" ref="model_event_registration"/> - <field name="global" eval="True"/> <field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids), |
