diff --git a/addons/point_of_sale/static/src/js/Misc/NumberBuffer.js b/addons/point_of_sale/static/src/js/Misc/NumberBuffer.js index 02d33bcff99..b8e78959f42 100644 --- a/addons/point_of_sale/static/src/js/Misc/NumberBuffer.js +++ b/addons/point_of_sale/static/src/js/Misc/NumberBuffer.js @@ -226,7 +226,7 @@ odoo.define('point_of_sale.NumberBuffer', function(require) { }; if (input === undefined || input === null) return; let isFirstInput = isEmpty(this.state.buffer); - if (input === this.decimalPoint) { + if (input === ',' || input === '.') { if (this.state.toStartOver) { this.state.buffer = ''; }