flectra/addons/mrp_repair/security/mrp_repair_security.xml

15 lines
489 B
XML
Raw Permalink Normal View History

<?xml version="1.0" encoding="utf-8"?>
2018-01-16 11:34:37 +01:00
<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>
2018-01-16 11:34:37 +01:00
</flectra>