server-ux/base_tier_validation/security/tier_validation_security.xml
2021-03-23 20:15:27 +01:00

20 lines
812 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<flectra noupdate="0">
<record id="tier_definition_comp_rule" model="ir.rule">
<field name="name">Tier Definition multi-company</field>
<field name="model_id" ref="model_tier_definition" />
<field name="global" eval="True" />
<field name="domain_force">
['|',('company_id','=',False),('company_id', 'in', company_ids)]
</field>
</record>
<record id="tier_review_comp_rule" model="ir.rule">
<field name="name">Tier Review multi-company</field>
<field name="model_id" ref="model_tier_review" />
<field name="global" eval="True" />
<field name="domain_force">
['|',('company_id','=',False),('company_id', 'in', company_ids)]
</field>
</record>
</flectra>