I came across what appears to be a bug with Odoo 16 when printing labels on barcodes for Purchase Orders.
Setup:
- Settings / Traceability / Lots & Serial Numbers
- Print GS1 Barcodes for lots is DISABLED
- Create a product with a bar code number and requires lot numbers.
- Create a PO for that product and receive the order.
- Add a lot number - do not validate.
- Print the labels.
The barcode represents the value of the the lot number and not the product's barcode number.
I noticed when lots are used the barcode text value under the barcode is overridden.
Problem exists for all out of the box labels:
- Dymo 2 x 7 with price
- 4 x 7 with price
- 4 x 12
- 4 x 12 with price
- ZPL Labels
- ZPL Labels with price
I checked on other test servers for used for addon demos by various vendors and the problem exists.