mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 10:11:20 +00:00
Minor fix
This commit is contained in:
@@ -191,7 +191,7 @@ def set_stock_balance_as_per_serial_no(item_code=None, posting_date=None, postin
|
|||||||
"posting_time": posting_time
|
"posting_time": posting_time
|
||||||
})
|
})
|
||||||
|
|
||||||
def reset_serial_no_status_and_warehouse(serial_nos=[]):
|
def reset_serial_no_status_and_warehouse(serial_nos=None):
|
||||||
if not serial_nos:
|
if not serial_nos:
|
||||||
serial_nos = frappe.db.sql_list("""select name from `tabSerial No` where status != 'Not in Use'
|
serial_nos = frappe.db.sql_list("""select name from `tabSerial No` where status != 'Not in Use'
|
||||||
and docstatus = 0""")
|
and docstatus = 0""")
|
||||||
|
|||||||
Reference in New Issue
Block a user