odoo/odoo#198326
Created by Parthkumar Patel (parp)
Merged
at b3299cdd91e2402d75ed1f74f0e79b6f544f85c9
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:saas-17.4-pos-fix-runbot-114938-unsyncing-of-split-order-on-test-parp
- head
- 4d1df9bdd3e5d19683b6ef902b810d2707777c4f
- merged
- 8 months ago by POS IoT, Vlad Stroia (vlst)
| odoo/odoo | |
|---|---|
| saas-17.4 | #198326 |
| 18.0 | #199069 |
| saas-18.1 | #199292 |
| saas-18.2 | #199306 |
| saas-18.3 | |
| saas-18.4 | |
| 19.0 | |
| master | #199375 |
[FIX] pos_restaurant: prevent unsyncing of split orders in tests
Issue:
In SplitBillScreenTour2, navigating back and forth between FloorScreen and ProductScreen triggered a SyncAllOrders call.
Immediately after, another SyncAllOrders call was sent from createSplittedOrder.
Since the first request was still in progress, the second request sometimes sent only one order to the backend.
This caused the original order to be filtered out from syncingOrders, leading to inconsistencies.
Fix:
Step were added to check that the request is processed.
Runbot Error: 114938