Merge pull request #568 from akhileshdarjee/responsive

[Fix][Purchase Order]Warehouse in Item grid to call get_projected_qty
This commit is contained in:
Nabin Hait
2013-07-10 03:05:42 -07:00

View File

@@ -191,7 +191,7 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({
var item = wn.model.get_doc(cdt, cdn); var item = wn.model.get_doc(cdt, cdn);
if(item.item_code && item.warehouse) { if(item.item_code && item.warehouse) {
this.frm.call({ this.frm.call({
method: "buying.utils.get_conversion_factor", method: "buying.utils.get_projected_qty",
child: item, child: item,
args: { args: {
item_code: item.item_code, item_code: item.item_code,