mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 01:34:10 +00:00
committed by
Mergify
parent
030ce6d6a0
commit
d09857294c
@@ -273,6 +273,7 @@ class FIFOSlots:
|
||||
else:
|
||||
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:
|
||||
self.__compute_incoming_stock(d, fifo_queue, transferred_item_key, serial_nos)
|
||||
else:
|
||||
@@ -289,6 +290,10 @@ class FIFOSlots:
|
||||
|
||||
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:
|
||||
"Initialise keys and FIFO Queue."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user