Show actual qty in warehouse link search (#14258)
This commit is contained in:
parent
f12b446dc8
commit
780952ea03
@ -55,11 +55,13 @@ erpnext.SerialNoBatchSelector = Class.extend({
|
||||
},
|
||||
get_query: function() {
|
||||
return {
|
||||
filters: {
|
||||
is_group: 0,
|
||||
company: me.frm.doc.company
|
||||
}
|
||||
};
|
||||
query: "erpnext.controllers.queries.warehouse_query",
|
||||
filters: [
|
||||
["Bin", "item_code", "=", me.item_code],
|
||||
["Warehouse", "is_group", "=", 0],
|
||||
["Warehouse", "company", "=", me.frm.doc.company]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{fieldtype:'Column Break'},
|
||||
|
Loading…
x
Reference in New Issue
Block a user