mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
[merge] [minor] merged with master for serial_no updatess
This commit is contained in:
@@ -46,10 +46,10 @@ cur_frm.fields_dict['item_serial_no'].get_query = function(doc, cdt, cdn) {
|
||||
if (doc.item_code) {
|
||||
filter = {
|
||||
'item_code': doc.item_code,
|
||||
'status': "In Store"
|
||||
'status': "Available"
|
||||
}
|
||||
} else
|
||||
filter = { 'status': "In Store" }
|
||||
filter = { 'status': "Available" }
|
||||
|
||||
return { filters: filter }
|
||||
}
|
||||
Reference in New Issue
Block a user