250512-stock_barcodes_gs1-fix_serial.diff
unknown
diff
7 months ago
668 B
14
Indexable
diff --git a/stock_barcodes_gs1/wizard/stock_barcodes_read.py b/stock_barcodes_gs1/wizard/stock_barcodes_read.py
index 38738230..8c5bdc8f 100644
--- a/stock_barcodes_gs1/wizard/stock_barcodes_read.py
+++ b/stock_barcodes_gs1/wizard/stock_barcodes_read.py
@@ -57,6 +57,7 @@ class WizStockBarcodesRead(models.AbstractModel):
def _process_ai_10(self, gs1_list):
"""Serial/Lot identification"""
self.lot_name = self.barcode
+ self.lot_id = False
# Determine if barcode scanned has included the weight to no update product_qty
# from lot
weight_ai = next(filter(lambda f: f["ai"].startswith("31"), gs1_list), False)
Editor is loading...
Leave a Comment