flectra/addons/delivery/security/delivery_carrier_security.xml

13 lines
485 B
XML
Raw Normal View History

<?xml version='1.0' encoding='utf-8'?>
2018-01-16 11:34:37 +01:00
<flectra>
<data noupdate="1">
<record model="ir.rule" id="delivery_carrier_comp_rule">
<field name="name">Delivery Carrier multi-company</field>
<field name="model_id" ref="model_delivery_carrier"/>
<field name="global" eval="True"/>
<field name="domain_force"> ['|',('company_id','=',user.company_id.id),('company_id','=',False)]</field>
<field name="active" eval="False"/>
</record>
</data>
2018-01-16 11:34:37 +01:00
</flectra>