From f15c80a0f0c0495e08f9b9b8134840485e2dd8e8 Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Wed, 22 Jan 2025 14:02:27 +0100 Subject: [PATCH] [FIX] account_invoice_section_sale_order: fix tax amount in test Taxes were added to demo products in https://github.com/odoo/odoo/commit/1443e5503c7396512a so the taxed amount is now 15% higher. The untaxed amount hasn't changed though. Co-authored-by: Lukas Tran --- .../tests/test_invoice_group_by_sale_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_invoice_section_sale_order/tests/test_invoice_group_by_sale_order.py b/account_invoice_section_sale_order/tests/test_invoice_group_by_sale_order.py index 872d5a22337..3ee311371e4 100644 --- a/account_invoice_section_sale_order/tests/test_invoice_group_by_sale_order.py +++ b/account_invoice_section_sale_order/tests/test_invoice_group_by_sale_order.py @@ -135,7 +135,7 @@ def test_create_invoice_with_currency(self): """Check invoice is generated with a correct total amount""" orders = self.order1_p1 | self.order2_p1 invoices = orders._create_invoices() - self.assertEqual(invoices.amount_total, 80) + self.assertEqual(invoices.amount_untaxed, 80) def test_create_invoice_with_default_journal(self): """Using a specific journal for the invoice should not be broken"""