odoo/odoo#233581

Created by fw-bot
Merged at dab7c5821e627bc7120660778a288cb521a223d3

Statuses:

label
odoo-dev:19.0-18.0-pos-remove-cancel-order-from-ui-parp-473654-fw
head
72dcb2184abb65018afb91838e6d87c2f62b5c84
merged
1 week ago by Parthkumar Patel (parp)
odoo/odoo
18.0 #219402
saas-18.2 #231977
saas-18.3 #232114
saas-18.4 #233565
19.0 #233581
master #233591

[FIX] pos*: remove cancelled orders from Ticket Screen

pos*: point_of_sale, pos_restaurant

Steps to reproduce:
- Open the Restaurant POS and place an order.
- Send it to the preparation screen by clicking Order.
- Reopen the order and cancel it via the Action button.

Issue:
- The cancelled order still appears under the Paid section on the Ticket Screen.

Fix:
- Cancelled orders are now excluded from the Ticket Screen display.
- Remove canceled orders from local records.

task-4936636

Forward-Port-Of: #232114
Forward-Port-Of: #219402