diff --git a/service_charges_pos/static/src/js/service_charge_button.js b/service_charges_pos/static/src/js/service_charge_button.js index 020e0a122..ea6a59716 100644 --- a/service_charges_pos/static/src/js/service_charge_button.js +++ b/service_charges_pos/static/src/js/service_charge_button.js @@ -44,7 +44,7 @@ odoo.define('service_charges_pos.ServiceChargeButton', function(require) { isInputSelected: true }); if (confirmed) - if (payload > 0) { + if (payload > 0 && global_selection) { if (global_selection == 'amount') { order.add_product(product, { price: payload