From fff916da1ba7cd03d01e3b7e88c784ee2ced5be0 Mon Sep 17 00:00:00 2001 From: "Stefan-Calin Crainiciuc (stcc)" Date: Thu, 1 Sep 2022 11:50:32 +0000 Subject: [PATCH] [FIX] account: tax line in invoice report Steps to reproduce: - Accounting > Customers > Invoices > Create - Add one product line with tax 15% and one with no tax - Print > Invoices Issue: In the report, the 15% tax is applied correctly on the first product, but the taxed amount is not displayed. This is because lines without a tax are not being considered as a separate tax group. Fix: Add an additional condition in the xml to check if the amount of taxed money is equal to the invoice value. If not, then only a part of the invoice amount is being taxed, so it must be displayed. can be considered a forward-port of e213dab810724985dd62fb5f9a57f2bf6686a491 opw-2945837 closes odoo/odoo#100190 X-original-commit: 51064f233ca65b98d34503e2a11481d64ae8436a Signed-off-by: Olivier Colson (oco) Signed-off-by: Stefan-Calin Crainiciuc (stcc) --- addons/account/views/report_invoice.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/views/report_invoice.xml b/addons/account/views/report_invoice.xml index ad7cf3f6284..015ed13d651 100644 --- a/addons/account/views/report_invoice.xml +++ b/addons/account/views/report_invoice.xml @@ -289,7 +289,7 @@ --> - + on