Skip to content

Commit

Permalink
[FIX] account_ecotax: test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalyi committed Oct 5, 2024
1 parent 58d2440 commit 7adccf2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions account_ecotax/tests/test_ecotax.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
(
Expand Down Expand Up @@ -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": [
(
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7adccf2

Please sign in to comment.