Hii,
Here is our product barcode when we scan it from scanner in POS.
These barcodes, qr codes come from our vendors.
Barcode: 010763003171335310TH017
01 -> 07630031713353 (this is barcode)
10 -> TH017 (this is Lot number)
Barcode: 01076300317187471722040410NF165
01 -> 07630031718747 (this is barcode)
17 -> 2022-04-04 (Expiry Date)
10 -> NF165 (Lot)
1. Can we scan above barcodes and product and Lot number automatically selected in POS instead opening the Lot popup?
2. Is it possible through nomenclature rules?
3. Can we do it by overriding javascript function that reads barcode and we separate the barcode and lot from barcode string and select the product and lot and assign to the POS order? In which javascript method or class we have to do it?
Odoo Version: 12 Enterprise