From ffe6f2a986d6bb178a3fe4a9823fced8ccb83f33 Mon Sep 17 00:00:00 2001 From: David Moreno Date: Thu, 31 Aug 2023 11:38:03 +0200 Subject: [PATCH] [IMP] Remove non-used variable --- pos_event_sale/static/src/js/models/PosGlobalState.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pos_event_sale/static/src/js/models/PosGlobalState.js b/pos_event_sale/static/src/js/models/PosGlobalState.js index 1c269171f0..641cd15250 100644 --- a/pos_event_sale/static/src/js/models/PosGlobalState.js +++ b/pos_event_sale/static/src/js/models/PosGlobalState.js @@ -138,7 +138,7 @@ odoo.define("pos_event_sale.models", function (require) { /** * Prevent race condition on clicking twice the payment screen validate button */ - _flush_orders(orders, options) { + _flush_orders(orders) { if (!orders || !orders.length || orders[0] === undefined) { return Promise.resolve([]); }