odoo/odoo#197080
Created by royle-vietnam
Merged
at b8875885d1e86623d5277f2581bbe7d2ae7079e0
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
- royle-vietnam:v16_fix_point_of_sale7
- head
- 66add4bf7f66d440464628eb5fac6740fde83e25
- merged
- 1 year ago by POS IoT, Vlad Stroia (vlst)
| odoo/odoo | |
|---|---|
| 16.0 | #197080 |
| 17.0 | #203446 |
[FIX] point_of_sale: ensuring the correct removal from self.syncingOrders
Previously, the code attempted to delete an element using order_id, but ordersToSync is an array of order objects, not order IDs.
The fix updates the loop to use order.id instead of order_id, ensuring the correct removal from self.syncingOrders.
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr