mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 08:35:00 +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
|
||||
})
|
||||
|
||||
def reset_serial_no_status_and_warehouse(serial_nos=[]):
|
||||
def reset_serial_no_status_and_warehouse(serial_nos=None):
|
||||
if not serial_nos:
|
||||
serial_nos = frappe.db.sql_list("""select name from `tabSerial No` where status != 'Not in Use'
|
||||
and docstatus = 0""")
|
||||
|
||||
Reference in New Issue
Block a user