Skip to content

Commit

Permalink
misc-fix2review
Browse files Browse the repository at this point in the history
  • Loading branch information
bealdav committed Jun 7, 2024
1 parent 196ccc3 commit 4b800eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions account_ecotax/models/product_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ class ProductTemplate(models.Model):
fixed_ecotax = fields.Float(
compute="_compute_ecotax",
help="Fixed ecotax of the Ecotax Classification",
store=True,
)
weight_based_ecotax = fields.Float(
compute="_compute_ecotax",
help="Ecotax value :\n"
"product weight * ecotax coef of "
"Ecotax Classification",
"product weight * ecotax coef of Ecotax Classification",
store=True,
)

@api.depends(
Expand Down
2 changes: 1 addition & 1 deletion account_ecotax/tests/test_ecotax.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@tagged("-at_install", "post_install")
class TestInvoiceEcotaxe(AccountTestInvoicingCommon):
@classmethod
def setUpClass(cls, chart_template_ref="l10n_fr.l10n_fr_pcg_chart_template"):
def setUpClass(cls, chart_template_ref=None):
super().setUpClass(chart_template_ref)
cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True))

Expand Down

0 comments on commit 4b800eb

Please sign in to comment.