[FIX] pos_restaurant: stay on current table after refund
Previously, when conducting a refund on a table, the system would switch the active table to the table associated with the refunded order. This was not the desired behavior, as it resulted in the details of the order disappearing, requiring the user to navigate back to the refund process. Steps to reproduce the issue: - install PoS restaurant - pick a table, do an order and pay it - pick another table, refund - choose the previous order and refund -> the order details disappear directly. You have to go back to refund. opw-3301603 closes odoo/odoo#121351 X-original-commit: 1b28952d42c4c0830a1e9a73c6d1dd7f334e122b Signed-off-by:Heinz Robin (rhe) <rhe@odoo.com> Signed-off-by:
Pedram Bi Ria (pebr) <pebr@odoo.com>
Showing
- addons/pos_restaurant/static/src/js/Screens/TicketScreen.js 1 addition, 1 deletionaddons/pos_restaurant/static/src/js/Screens/TicketScreen.js
- addons/pos_restaurant/static/tests/tours/refund.tour.js 45 additions, 0 deletionsaddons/pos_restaurant/static/tests/tours/refund.tour.js
- addons/pos_restaurant/tests/test_frontend.py 4 additions, 0 deletionsaddons/pos_restaurant/tests/test_frontend.py
Loading
Please register or sign in to comment