account-closing/account_cutoff_base/security/account_cutoff_base_security.xml

17 lines
766 B
XML
Raw Permalink Normal View History

2021-03-23 19:28:14 +00:00
<?xml version="1.0" encoding="utf-8"?>
<flectra noupdate="1">
<record id="account_cutoff_multi_company_rule" model="ir.rule">
<field name="name">Account Cutoff Multi-Company</field>
<field name="model_id" ref="model_account_cutoff"/>
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])]</field>
</record>
<record id="account_cutoff_mapping_multi_company_rule" model="ir.rule">
<field name="name">Account Cutoff Mapping Multi-Company</field>
<field name="model_id" ref="model_account_cutoff_mapping"/>
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])]</field>
</record>
</flectra>