[FIX] mis_template_financial_report: Remove balance of "Current Year Earnings" in Profit.

According to the explanation https://github.com/OCA/account-financial-reporting/issues/888#issuecomment-1171101484 it is not necessary.

TT37837
pull/1012/head
Víctor Martínez 2022-09-01 19:16:47 +02:00 committed by Luis Ernesto García Medina
parent 67bfa0de78
commit 8aeba52421
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
{ {
"name": "Profit & Loss / Balance sheet MIS templates", "name": "Profit & Loss / Balance sheet MIS templates",
"version": "14.0.1.0.0", "version": "14.0.1.1.0",
"license": "AGPL-3", "license": "AGPL-3",
"author": "Hunki Enterprises BV,Odoo Community Association (OCA)", "author": "Hunki Enterprises BV,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-financial-reporting", "website": "https://github.com/OCA/account-financial-reporting",

View File

@ -19,7 +19,7 @@
<field name="description">Profit</field> <field name="description">Profit</field>
<field <field
name="expression" name="expression"
>-balp[('user_type_id', 'in', (ref('account.data_account_type_other_income').id, ref('account.data_account_type_revenue').id, ref('account.data_unaffected_earnings').id,))][]</field> >-balp[('user_type_id', 'in', (ref('account.data_account_type_other_income').id, ref('account.data_account_type_revenue').id,))][]</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" />