fixup! [MIG] mis_template_financial_report: Migration to 16.0

This commit is contained in:
Holger Brunn
2024-04-15 12:21:55 +02:00
committed by Geraldo Lopez
parent cf82fd121d
commit 9c7e86a848

View File

@@ -15,7 +15,9 @@
<record id="kpi_profit" model="mis.report.kpi"> <record id="kpi_profit" model="mis.report.kpi">
<field name="name">profit</field> <field name="name">profit</field>
<field name="description">Profit</field> <field name="description">Profit</field>
<field name="expression">-balp[('account_type', 'like', 'income%')][]</field> <field
name="expression"
>-balp['|', ('account_type', 'like', 'income%'), ('account_type', 'like', 'equity_unaffected')][]</field>
<field name="auto_expand_accounts">true</field> <field name="auto_expand_accounts">true</field>
<field name="auto_expand_accounts_style_id" ref="style_details" /> <field name="auto_expand_accounts_style_id" ref="style_details" />
<field name="style_id" ref="style_header" /> <field name="style_id" ref="style_header" />
@@ -71,7 +73,7 @@
<field name="description">Liabilities</field> <field name="description">Liabilities</field>
<field <field
name="expression" name="expression"
>-bale['|', ('account_type', 'like', 'liability%'), ('account_type', 'like', 'equity%')][]</field> >-bale['|', ('account_type', 'like', 'liability%'), ('account_type', '=', 'equity')][]</field>
<field name="auto_expand_accounts">true</field> <field name="auto_expand_accounts">true</field>
<field name="auto_expand_accounts_style_id" ref="style_details_double_indent" /> <field name="auto_expand_accounts_style_id" ref="style_details_double_indent" />
<field name="style_id" ref="style_header_indent" /> <field name="style_id" ref="style_header_indent" />