bank-payment/account_payment_mode/security/account_payment_mode.xml
2021-03-23 20:28:51 +01:00

11 lines
391 B
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra noupdate="1">
<record id="account_payment_mode_company_rule" model="ir.rule">
<field name="name">Payment mode multi-company rule</field>
<field name="model_id" ref="model_account_payment_mode"/>
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])]</field>
</record>
</flectra>