[FIX] pos_restaurant: check product screen, not floor screen
After clicking a table, ProductScreen should show, not FloorScreen. closes odoo/odoo#57025 X-original-commit: 0a9f6f81525b12e6e3b30eb6d875c8f36db509ee Signed-off-by: pimodoo <pimodoo@users.noreply.github.com> Signed-off-by: Joseph Caburnay (jcb) <caburj@users.noreply.github.com>
This commit is contained in:
@@ -17,8 +17,7 @@ odoo.define('pos_restaurant.tour.TicketScreen', function (require) {
|
||||
|
||||
// Deleting the last order in the table brings back to floorscreen
|
||||
FloorScreen.do.clickTable('T4');
|
||||
// Clicking ticket button without checking if floor screen is shown causes an error
|
||||
FloorScreen.check.isShown();
|
||||
ProductScreen.check.isShown();
|
||||
Chrome.do.clickTicketButton();
|
||||
TicketScreen.check.nthRowContains(2, '-0001');
|
||||
TicketScreen.do.deleteOrder('-0001');
|
||||
|
||||
Reference in New Issue
Block a user