forked from OCA/account-financial-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add multi-company ir.rule on account.fiscal.year
- Loading branch information
1 parent
0f90603
commit ab4288d
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- | ||
Copyright 2021 Akretion France (http://www.akretion.com/) | ||
@author: Alexis de Lattre <[email protected]> | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
--> | ||
<odoo noupdate="1"> | ||
|
||
|
||
<record id="account_fiscal_year_rule" model="ir.rule"> | ||
<field name="name">Fiscal Year multi-company</field> | ||
<field name="model_id" ref="model_account_fiscal_year" /> | ||
<field | ||
name="domain_force" | ||
>['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field> | ||
</record> | ||
|
||
|
||
</odoo> |