odoo/odoo#192670

Created by fw-bot
Merged at d58fccbddc7672de6593c8ed02eeed3e1cd0c587

Statuses:

label
odoo-dev:master-18.0-pos-restrict-reuse-of-serial-number-parp-wScU-fw
head
0c58a3a7bc5e808aca087d55d68adf0916061264
merged
10 months ago by Parthkumar Patel (parp)
odoo/odoo
18.0 #187176
saas-18.1 #192529
saas-18.2
saas-18.3
saas-18.4
19.0
master #192670

[FW][FIX] pos: prevent reuse of serial numbers from active orders

Steps:
- Open the POS.
- Add a product with serial number tracking to the order line.
- Create a new order.
- Add the same product to the new order

Issue:
- it is possible to select the same serial number that was previously used in another order.

Fix:
- Hide serial numbers that are being used in active orders

task-3944652

Forward-Port-Of: #192529
Forward-Port-Of: #187176