Minor fix
This commit is contained in:
parent
d5fd535909
commit
7700c62fa8
@ -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""")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user