summaryrefslogtreecommitdiff
path: root/addons/hr_contract/security/security.xml
diff options
context:
space:
mode:
authorVictor Feyens <vfe@odoo.com>2020-03-10 18:06:44 +0100
committerMartin Trigaux <mat@odoo.com>2020-03-20 16:15:40 +0100
commit532c083cbbe0ee6e7a940e2bdc9c677bd56b62fa (patch)
treee5602b92b48d3b1405a0f9d93459cf6612204cc1 /addons/hr_contract/security/security.xml
parentf6c06bd0b87dac11d76a3134eb61c7ef4eb59270 (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/hr_contract/security/security.xml')
-rw-r--r--addons/hr_contract/security/security.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/hr_contract/security/security.xml b/addons/hr_contract/security/security.xml
index 2ffba623cf7..e65a83d488f 100644
--- a/addons/hr_contract/security/security.xml
+++ b/addons/hr_contract/security/security.xml
@@ -20,7 +20,6 @@
<record id="ir_rule_hr_contract_multi_company" model="ir.rule">
<field name="name">HR Contract: Multi Company</field>
<field name="model_id" ref="model_hr_contract"/>
- <field name="global" eval="True"/>
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
</record>