mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
[minor] [fix] [issue] #624
This commit is contained in:
@@ -286,7 +286,7 @@ erpnext.selling.SellingController = erpnext.TransactionController.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
warehouse: function(doc, cdt, cdn) {
|
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)) {
|
if(item.item_code && (item.warehouse || item.reserved_warehouse)) {
|
||||||
this.frm.call({
|
this.frm.call({
|
||||||
method: "selling.utils.get_available_qty",
|
method: "selling.utils.get_available_qty",
|
||||||
|
|||||||
Reference in New Issue
Block a user