[minor] [fix] [issue] #624
This commit is contained in:
parent
fbd47e3da5
commit
7dd5034b03
@ -286,7 +286,7 @@ erpnext.selling.SellingController = erpnext.TransactionController.extend({
|
||||
},
|
||||
|
||||
warehouse: function(doc, cdt, cdn) {
|
||||
var item = webnotes.get_doc(cdt, cdn);
|
||||
var item = wn.model.get_doc(cdt, cdn);
|
||||
if(item.item_code && (item.warehouse || item.reserved_warehouse)) {
|
||||
this.frm.call({
|
||||
method: "selling.utils.get_available_qty",
|
||||
|
Loading…
x
Reference in New Issue
Block a user