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

15 lines
489 B
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<data noupdate="1">
<!-- Multi -->
<record model="ir.rule" id="mrp_repair_rule">
<field name="name">mrp_repair multi-company</field>
<field name="model_id" search="[('model','=','mrp.repair')]" model="ir.model"/>
<field name="global" eval="True"/>
<field name="domain_force">['|',('company_id','child_of',[user.company_id.id]),('company_id','=',False)]</field>
</record>
</data>
</flectra>