From 0c9a7a0a1398193d2e78443ffd763ba658d77652 Mon Sep 17 00:00:00 2001 From: Akhilesh Darjee Date: Wed, 10 Jul 2013 12:54:32 +0530 Subject: [PATCH] [Fix]Warehouse in Item grid of Purchase Order to call get_projected_qty --- buying/doctype/purchase_common/purchase_common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buying/doctype/purchase_common/purchase_common.js b/buying/doctype/purchase_common/purchase_common.js index 1974aa7f8e..284c238db9 100644 --- a/buying/doctype/purchase_common/purchase_common.js +++ b/buying/doctype/purchase_common/purchase_common.js @@ -191,7 +191,7 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({ var item = wn.model.get_doc(cdt, cdn); if(item.item_code && item.warehouse) { this.frm.call({ - method: "buying.utils.get_conversion_factor", + method: "buying.utils.get_projected_qty", child: item, args: { item_code: item.item_code,