Monday, May 25, 2026
1 change · 19.0
Resolved issues and error corrections
This fixes a restaurant point-of-sale issue where transferring or merging an order to the same table could accidentally cancel and hide the order. It protects staff using QR self-ordering and table service from losing visibility of active orders during normal operations.
Original PR description
Related to Odoo issue #266287\n\nProblem:\nWhen an order is created from mobile self-order QR flow, it may have self_ordering_table_id set while table_id is empty. If a cashier tries Transfer/Merge to the same physical table, the self-transfer guard may fail, and the order can be merged with itself and then canceled (disappears from active orders).\n\nSolution:\nAdded a hard guard in transferOrder after destination resolution:\n- Check if destinationOrder.uuid == sourceOrder.uuid\n- If true, show self-transfer notification and abort\n\nThis prevents the unintended order cancellation during normal cashier table operations.\n\nImpact:\nHigh risk in restaurants using self-order QR with table service. This fix prevents operational confusion and potential loss of in-progress order visibility.\n\nTest: Tested locally with the Odoo 19.0 codebase.