summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/pos_restaurant/static/src/js/tours/pos_restaurant.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/addons/pos_restaurant/static/src/js/tours/pos_restaurant.js b/addons/pos_restaurant/static/src/js/tours/pos_restaurant.js
index 73ea1938f49..324c5647307 100644
--- a/addons/pos_restaurant/static/src/js/tours/pos_restaurant.js
+++ b/addons/pos_restaurant/static/src/js/tours/pos_restaurant.js
@@ -30,12 +30,7 @@ odoo.define('pos_reataurant.tour.synchronized_table_management', function (requi
run: function() {
var orders = $('.order-sequence');
if (orders.length === order_count) {
- var fail = orders.toArray().some(function(order){
- return !order.firstChild.data.includes('S-');
- });
- if (fail) {
- throw "sync failed";
- }
+ return
} else {
throw "sync failed";
}
@@ -92,7 +87,6 @@ odoo.define('pos_reataurant.tour.synchronized_table_management', function (requi
trigger: '.label:contains(' + table_id +')',
run: 'click',
}];
- steps = steps.concat(verify_sync());
if (order_count !== null){
steps = steps.concat(verify_orders_synced(order_count));
}