odoo/odoo#199375
Created by fw-bot
Merged
at d0a039f5d933e5f38ef6e3f8c6e3f368512f89d4
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- 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:master-saas-17.4-pos-fix-runbot-114938-unsyncing-of-split-order-on-test-parp-418722-fw
- head
- 91ef8595ecb2d5523391f18824b0a0d12bc05625
- merged
- 8 months ago by Parthkumar Patel (parp)
| 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 |
[FW][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