Skip to content
Snippets Groups Projects
Commit d8e49d38 authored by Lorenzo Battistini's avatar Lorenzo Battistini Committed by Goffin Simon
Browse files

[FIX] purchase: add missing multi company record rule

Apply an inter-company rule for the purchase.report

opw:779192
parent 0fe7989e
Branches
Tags
No related merge requests found
......@@ -51,5 +51,12 @@
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
</record>
<record model="ir.rule" id="purchase_order_report_comp_rule">
<field name="name">Purchase Order Report multi-company</field>
<field name="model_id" ref="model_purchase_report"/>
<field name="global" eval="True"/>
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
</record>
</data>
</odoo>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment