server-ux/date_range/security/date_range_security.xml

18 lines
721 B
XML
Raw Permalink Normal View History

2021-03-23 19:15:27 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
<flectra noupdate="1">
<record id="date_range_type_comp_rule" model="ir.rule">
<field name="name">Date Range Type multi-company</field>
<field name="model_id" ref="model_date_range_type" />
<field name="domain_force">
['|',('company_id', 'in', company_ids),('company_id','=',False)]
</field>
</record>
<record id="date_range_comp_rule" model="ir.rule">
<field name="name">Date Range multi-company</field>
<field name="model_id" ref="model_date_range" />
<field name="domain_force">
['|',('company_id', 'in', company_ids),('company_id','=',False)]
</field>
</record>
</flectra>