odoo/odoo#199069
Created by fw-bot
Merged
at 3c6c04387ad4dd935fc684e5695b29a43d4c8113
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:18.0-saas-17.4-pos-fix-runbot-114938-unsyncing-of-split-order-on-test-parp-417209-fw
- head
- 1651ede740f767825ad6c6f22529fa86a33e6cd4
- 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
Forward-Port-Of: #198326