-
- Downloads
[FIX] pos_restaurant: synchronize orders in TicketScreen
Before this commit: if more than one user work on a PoS restaurant, the
synced validated orders wouldn't remove from other user devices.
Steps to reproduce the issue:
1. Create a PoS resturant
2. Login to the PoS with two different browser
3. Create some orders with some products in one of the browsers
4. Complete the orders in another browser
=> Orders will not remove from the first browser
The solution is to retrieve the latest orders of every table when going to
the TicketScreen
opw-2925193
closes odoo/odoo#98928
Signed-off-by:
Trinh Jacky (trj) <trj@odoo.com>
Showing
- addons/pos_restaurant/static/src/js/ChromeWidgets/TicketButton.js 23 additions, 0 deletions...os_restaurant/static/src/js/ChromeWidgets/TicketButton.js
- addons/pos_restaurant/static/src/js/floors.js 24 additions, 15 deletionsaddons/pos_restaurant/static/src/js/floors.js
- addons/pos_restaurant/static/tests/tours/TipScreen.tour.js 1 addition, 1 deletionaddons/pos_restaurant/static/tests/tours/TipScreen.tour.js
Please register or sign in to comment