mirror of
https://gitlab.com/flectra-community/account-closing.git
synced 2024-11-26 07:32:03 +00:00
17 lines
766 B
XML
17 lines
766 B
XML
|
<?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>
|