2
0
account-financial-tools/account_loan/security/account_loan_security.xml

13 lines
454 B
XML
Raw Normal View History

2018-02-26 12:17:24 +01:00
<?xml version="1.0" encoding="utf-8"?>
<odoo noupdate="1">
<record id="account_loan_multi_company_rule" model="ir.rule">
<field name="name">Account loan multi-company</field>
<field ref="model_account_loan" name="model_id"/>
<field eval="True" name="global"/>
<field name="domain_force">
['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
</field>
</record>
</odoo>