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() {
|
get_query: function() {
|
||||||
return {
|
return {
|
||||||
filters: {
|
query: "erpnext.controllers.queries.warehouse_query",
|
||||||
is_group: 0,
|
filters: [
|
||||||
company: me.frm.doc.company
|
["Bin", "item_code", "=", me.item_code],
|
||||||
}
|
["Warehouse", "is_group", "=", 0],
|
||||||
};
|
["Warehouse", "company", "=", me.frm.doc.company]
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{fieldtype:'Column Break'},
|
{fieldtype:'Column Break'},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user