mirror of
https://gitlab.com/flectra-community/account-closing.git
synced 2024-11-24 22:52:03 +00:00
25 lines
1.1 KiB
XML
25 lines
1.1 KiB
XML
|
<?xml version="1.0" encoding="utf-8" ?>
|
||
|
<!-- Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com>
|
||
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||
|
<flectra noupdate="1">
|
||
|
|
||
|
<record id="fiscalyear_closing_multi_company_rule" model="ir.rule">
|
||
|
<field name="name">Fiscal year closing multi-company</field>
|
||
|
<field name="model_id" ref="model_account_fiscalyear_closing" />
|
||
|
<field name="global" eval="True" />
|
||
|
<field
|
||
|
name="domain_force"
|
||
|
>['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])]</field>
|
||
|
</record>
|
||
|
|
||
|
<record id="fiscalyear_closing_template_multi_company_rule" model="ir.rule">
|
||
|
<field name="name">Fiscal year closing template multi-company</field>
|
||
|
<field name="model_id" ref="model_account_fiscalyear_closing_template" />
|
||
|
<field name="global" eval="True" />
|
||
|
<field
|
||
|
name="domain_force"
|
||
|
>['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])]</field>
|
||
|
</record>
|
||
|
|
||
|
</flectra>
|