summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_view.js
diff options
context:
space:
mode:
authorJoseph Caburnay <jcb@odoo.com>2020-11-26 11:34:18 +0000
committerJoseph Caburnay <jcb@odoo.com>2020-11-26 12:31:26 +0000
commite6e2a7392a5dd518c3f0df1c1ac0f90b0cba78f4 (patch)
treec16fbc2c2ecfe57812602379d78ce680d8207ded /addons/web/static/src/js/views/basic/basic_view.js
parentd9e4673b9fe9785ff5fb193bb3c915025eddbb8c (diff)
[FIX] pos_restaurant: order remained after deletion
There is a situation in pos_restaurant such that when an order is deleted from the ticket screen, it persists to show when the table is opened. To reproduce: 1. Create an order in T1 then add items to it. 2. Get out of the table (back to floor). 3. Open ticket screen. 4. Delete the order in T1. 5. Close the ticket screen. 6. Open T1, the order is still there (bug). This commit fixes this behavior such that in step 6, new order should show and not the deleted order. Note that we also made a change in the template in order to allow checking the number of synced orders during testing. We want to make sure that the table is clicked when the sync finishes to prevent concurrency issue during testing. closes odoo/odoo#62403 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions