diff --git a/addons/point_of_sale/static/src/js/Popups/CashOpeningPopup.js b/addons/point_of_sale/static/src/js/Popups/CashOpeningPopup.js index 8b289b6d70e..f234267b34e 100644 --- a/addons/point_of_sale/static/src/js/Popups/CashOpeningPopup.js +++ b/addons/point_of_sale/static/src/js/Popups/CashOpeningPopup.js @@ -43,6 +43,10 @@ odoo.define('point_of_sale.CashOpeningPopup', function(require) { handleInputChange() { this.manualInputCashCount = true; this.moneyDetails = null; + this.state.notes = ""; + if (typeof(this.state.openingCash) !== "number") { + this.state.openingCash = 0; + } } }