mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-27 10:38:30 +00:00
committed by
Mergify
parent
030ce6d6a0
commit
d09857294c
@@ -273,6 +273,7 @@ class FIFOSlots:
|
|||||||
else:
|
else:
|
||||||
serial_nos = get_serial_nos_from_bundle(d.serial_and_batch_bundle) or []
|
serial_nos = get_serial_nos_from_bundle(d.serial_and_batch_bundle) or []
|
||||||
|
|
||||||
|
serial_nos = self.uppercase_serial_nos(serial_nos)
|
||||||
if d.actual_qty > 0:
|
if d.actual_qty > 0:
|
||||||
self.__compute_incoming_stock(d, fifo_queue, transferred_item_key, serial_nos)
|
self.__compute_incoming_stock(d, fifo_queue, transferred_item_key, serial_nos)
|
||||||
else:
|
else:
|
||||||
@@ -289,6 +290,10 @@ class FIFOSlots:
|
|||||||
|
|
||||||
return self.item_details
|
return self.item_details
|
||||||
|
|
||||||
|
def uppercase_serial_nos(self, serial_nos):
|
||||||
|
"Convert serial nos to uppercase for uniformity."
|
||||||
|
return [sn.upper() for sn in serial_nos]
|
||||||
|
|
||||||
def __init_key_stores(self, row: dict) -> tuple:
|
def __init_key_stores(self, row: dict) -> tuple:
|
||||||
"Initialise keys and FIFO Queue."
|
"Initialise keys and FIFO Queue."
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user