2018-01-16 06:58:15 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-01-16 11:34:37 +01:00
|
|
|
<flectra>
|
2018-01-16 06:58:15 +01:00
|
|
|
<data noupdate="1">
|
|
|
|
|
|
|
|
<record model="ir.rule" id="purchase_requisition_comp_rule">
|
|
|
|
<field name="name">Purchase Requisition multi-company</field>
|
|
|
|
<field name="model_id" ref="model_purchase_requisition"/>
|
|
|
|
<field name="global" eval="True"/>
|
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.rule" id="purchase_requisition_line_comp_rule">
|
|
|
|
<field name="name">Purchase requisition Line multi-company</field>
|
|
|
|
<field name="model_id" ref="model_purchase_requisition_line"/>
|
|
|
|
<field name="global" eval="True"/>
|
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
</data>
|
2018-01-16 11:34:37 +01:00
|
|
|
</flectra>
|