Skip to content

Commit

Permalink
[16.0][FIX] fix digits precision for ecotaxe amount on sale order
Browse files Browse the repository at this point in the history
  • Loading branch information
mourad-ehm committed Feb 20, 2024
1 parent adcd6dc commit 12e56a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion l10n_fr_ecotaxe_sale/models/sale_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ class SaleOrder(models.Model):
_inherit = "sale.order"

amount_ecotaxe = fields.Float(
string="Included Ecotaxe", store=True, compute="_compute_ecotaxe"
digits="Ecotaxe",
string="Included Ecotaxe",
store=True,
compute="_compute_ecotaxe",
)

@api.depends("order_line.subtotal_ecotaxe")
Expand Down

0 comments on commit 12e56a4

Please sign in to comment.