diff --git a/pos_fixed_discount/static/src/js/FixedDiscountButton.js b/pos_fixed_discount/static/src/js/FixedDiscountButton.js index 4b9a6e254b..817e56f7a9 100644 --- a/pos_fixed_discount/static/src/js/FixedDiscountButton.js +++ b/pos_fixed_discount/static/src/js/FixedDiscountButton.js @@ -17,8 +17,7 @@ odoo.define("pos_fixed_discount.FixedDiscountButton", function (require) { startingValue: 0, }); if (confirmed) { - var val = Math.round(parseFloat(payload)); - this.apply_discount(val); + this.apply_discount(parseFloat(payload.replace(",", "."))); } }