[FIX] l10n_pl: fix tax report Poland

Instead of doing the difference between output tax and input tax, the tax report was doing the sum.
This commit fixes this computation without revamping the rest of the report

closes odoo/odoo#88774

X-original-commit: df0372a168db184c03fd901359fec6abd08f5bdd
Signed-off-by: Olivier Colson <oco@odoo.com>
Signed-off-by: Wala Gauthier (gawa) <gawa@odoo.com>
This commit is contained in:
gawa-odoo
2022-04-14 15:11:38 +02:00
parent 6126add2fd
commit eb5785c095
@@ -124,17 +124,17 @@
<record id="account_tax_report_line_do_przeniesienia" model="account.tax.report.line">
<field name="name">Podatek - Do przeniesienia</field>
<field name="sequence" eval="3"/>
<field name="formula">PLTAXC_04_16 + PLTAXC_05_18 + PLTAXC_06_20 + PLTAXC_09_24 + PLTAXC_10_26 + PLTAXC_11_28 + PLTAXC_12_32 + PLTAXD_02_42</field>
<field name="formula">PLTAXC - PLTAXD</field>
<field name="children_line_ids">
<record id="account_tax_report_line_nad_naleznym" model="account.tax.report.line">
<field name="name">Podatek - Nadwyżka naliczonego nad należnym</field>
<field name="sequence" eval="1"/>
<field name="formula">PLTAXC_04_16 + PLTAXC_05_18 + PLTAXC_06_20 + PLTAXC_09_24 + PLTAXC_10_26 + PLTAXC_11_28 + PLTAXC_12_32 + PLTAXD_02_42</field>
<field name="formula">PLTAXC - PLTAXD</field>
<field name="children_line_ids">
<record id="account_tax_report_line_do_US" model="account.tax.report.line">
<field name="name">Podatek - Do wpłaty do US</field>
<field name="sequence" eval="1"/>
<field name="formula">PLTAXC_04_16 + PLTAXC_05_18 + PLTAXC_06_20 + PLTAXC_09_24 + PLTAXC_10_26 + PLTAXC_11_28 + PLTAXC_12_32 + PLTAXD_02_42</field>
<field name="formula">PLTAXC - PLTAXD</field>
<field name="children_line_ids">
<record id="account_tax_report_line_kasy_rejestrujace" model="account.tax.report.line">
<field name="name">Podatek - Wydatek na kasy rejestrujące</field>
@@ -146,6 +146,7 @@
</record>
<record id="account_tax_report_line_podatek_razem_c" model="account.tax.report.line">
<field name="name">Podatek - Razem C</field>
<field name="code">PLTAXC</field>
<field name="sequence" eval="3"/>
<field name="formula">PLTAXC_04_16 + PLTAXC_05_18 + PLTAXC_06_20 + PLTAXC_09_24 + PLTAXC_10_26 + PLTAXC_11_28 + PLTAXC_12_32</field>
<field name="children_line_ids">
@@ -211,6 +212,7 @@
</record>
<record id="account_tax_report_line_podatek_razem_d" model="account.tax.report.line">
<field name="name">Podatek - Razem D</field>
<field name="code">PLTAXD</field>
<field name="sequence" eval="4"/>
<field name="children_line_ids">
<record id="account_tax_report_line_podatek_deklaracji" model="account.tax.report.line">