mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 19:59:12 +00:00
[patch] [minor] perpetual inventory stock transfer utility
This commit is contained in:
@@ -39,8 +39,8 @@ def execute():
|
||||
|
||||
if item_details.has_serial_no == "Yes":
|
||||
serial_no = "\n".join([d[0] for d in webnotes.conn.sql("""select name
|
||||
from `tabSerial No` where item_code = %s and warehouse = %s""",
|
||||
(bin.item_code, bin.warehouse))])
|
||||
from `tabSerial No` where item_code = %s and warehouse = %s
|
||||
and status='Available'""", (bin.item_code, bin.warehouse))])
|
||||
else:
|
||||
serial_no = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user