Show actual qty in warehouse link search (#14258)

This commit is contained in:
rohitwaghchaure 2018-05-31 09:29:18 +05:30 committed by Nabin Hait
parent f12b446dc8
commit 780952ea03

View File

@ -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'},