odoo/odoo#158008

Created by Accounting, Claire Bretton (clbr)
label
odoo-dev:14.0-l10n_ch_tax_report_fix-clbr
head
52a587df3c44cea1406e7e5e682ec5460a3f3881
target
14.0
merged
2 months ago by Accounting, Brice Bartoletti (bib)
forward-ports

[FIX] l10n_ch: tax report box 200 computation fix

With this PR https://github.com/odoo/odoo/pull/129717 we fixed multiple problems of the Swiss tax report but the 200 box is still not correct.

Fix the computation of the box 200 of the Swiss tax report. We remove 382 and 383 boxes that are for purchases and shouldn't be included.
We add box 205 and 289 so that the box 200 somehow represent the "gross" taxed amount, and 299 is therefore the "net" amount.

200 = 302 to 343 + 205 + 289

opw-3766215