mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
[Fix]Warehouse in Item grid of Purchase Order to call get_projected_qty
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user