flectra/addons/delivery/security/delivery_carrier_security.xml
2018-01-16 02:34:37 -08:00

12 lines
443 B
XML

<?xml version='1.0' encoding='utf-8'?>
<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>
</record>
</data>
</flectra>