[FIX] pos_restaurant: remove the closing of pos
In the tour of pos restaurant, we are closing the pos that will redirect to /web, and we won't wait this redirection. That will lead to a remaining request taking too much time.
This commit is contained in:
@@ -172,18 +172,6 @@ odoo.define('pos_reataurant.tour.synchronized_table_management', function (requi
|
||||
steps = steps.concat(verify_sync());
|
||||
steps = steps.concat(open_table('T5', 1));
|
||||
|
||||
steps = steps.concat([{
|
||||
content: "close the Point of Sale frontend",
|
||||
trigger: ".header-button",
|
||||
}, {
|
||||
content: "confirm closing the frontend",
|
||||
trigger: ".header-button",
|
||||
run: function() {}, //it's a check,
|
||||
}, {
|
||||
content: "close the Point of Sale frontend",
|
||||
trigger: ".header-button",
|
||||
}]);
|
||||
|
||||
Tour.register('pos_restaurant_sync', { test: true, url: '/pos/web' }, steps);
|
||||
|
||||
|
||||
@@ -211,17 +199,6 @@ odoo.define('pos_reataurant.tour.synchronized_table_management', function (requi
|
||||
run: 'click',
|
||||
}]);
|
||||
steps = steps.concat(verify_sync());
|
||||
steps = steps.concat([{
|
||||
content: "close the Point of Sale frontend",
|
||||
trigger: ".header-button",
|
||||
}, {
|
||||
content: "confirm closing the frontend",
|
||||
trigger: ".header-button",
|
||||
run: function() {}, //it's a check,
|
||||
}, {
|
||||
content: "close the Point of Sale frontend",
|
||||
trigger: ".header-button",
|
||||
}]);
|
||||
|
||||
Tour.register('pos_restaurant_sync_second_login', { test: true, url: '/pos/web' }, steps);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user