[Fix]Warehouse in Item grid of Purchase Order to call get_projected_qty

This commit is contained in:
Akhilesh Darjee 2013-07-10 12:54:32 +05:30
parent 0f3d2df8e8
commit 0c9a7a0a13

View File

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