Merge pull request #3865 from nabinhait/fix3

minor fix
This commit is contained in:
Anand Doshi 2015-08-13 11:48:47 +05:30
commit bb1679b74b

View File

@ -12,7 +12,8 @@ erpnext.stock.StockController = frappe.ui.form.Controller.extend({
},
setup_warehouse_query: function() {
erpnext.queries.setup_queries(me.frm, "Warehouse", function() {
var me = this;
erpnext.queries.setup_queries(this.frm, "Warehouse", function() {
return erpnext.queries.warehouse(me.frm.doc);
});
},