Skip to content

Commit

Permalink
Merge PR #1275 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by legalsylvain
  • Loading branch information
OCA-git-bot committed Dec 19, 2024
2 parents 3ef5222 + 6623ce6 commit 2582381
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pos_fixed_discount/static/src/js/FixedDiscountButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(",", ".")));
}
}

Expand Down

0 comments on commit 2582381

Please sign in to comment.