From 7adccf204461fa8c9c8a19046514f02faaad7219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Valyi?= Date: Sat, 5 Oct 2024 02:44:58 +0000 Subject: [PATCH] [FIX] account_ecotax: test fixes --- account_ecotax/tests/test_ecotax.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/account_ecotax/tests/test_ecotax.py b/account_ecotax/tests/test_ecotax.py index 1205b4b7f..936074555 100644 --- a/account_ecotax/tests/test_ecotax.py +++ b/account_ecotax/tests/test_ecotax.py @@ -93,7 +93,7 @@ def setUpClass(cls, chart_template_ref=None): "company_id": cls.env.user.company_id.id, "amount_type": "code", "is_ecotax": True, - "python_compute": "result = product.fixed_ecotaxe or 0.0", + "python_compute": "result = product.fixed_ecotax or 0.0", "tax_exigibility": "on_invoice", "invoice_repartition_line_ids": [ ( @@ -142,7 +142,7 @@ def setUpClass(cls, chart_template_ref=None): "company_id": cls.env.user.company_id.id, "amount_type": "code", "is_ecotax": True, - "python_compute": "result = product.weight_based_ecotaxe or 0.0", + "python_compute": "result = product.weight_based_ecotax or 0.0", "tax_exigibility": "on_invoice", "invoice_repartition_line_ids": [ ( @@ -192,7 +192,7 @@ def setUpClass(cls, chart_template_ref=None): "ecotax_type": "fixed", "default_fixed_ecotax": 5.0, "product_status": "M", - "supplier_status": "FAB", + "supplier_status": "MAN", } ) cls.ecotax_fixed.sale_ecotax_ids = cls.invoice_fixed_ecotax @@ -203,7 +203,7 @@ def setUpClass(cls, chart_template_ref=None): "ecotax_type": "weight_based", "ecotax_coef": 0.04, "product_status": "P", - "supplier_status": "FAB", + "supplier_status": "MAN", } ) cls.ecotax_weight.sale_ecotax_ids = cls.invoice_weight_based_ecotax