update rate based on uom conversion factor

This commit is contained in:
Rohit Waghchaure 2017-09-05 11:25:05 +05:30
parent 22cff25bf5
commit c872095d76

View File

@ -132,6 +132,7 @@ erpnext.bom.BomController = erpnext.TransactionController.extend({
item.stock_qty = flt(item.qty * item.conversion_factor, precision("stock_qty", item));
refresh_field("stock_qty", item.name, item.parentfield);
this.toggle_conversion_factor(item);
this.frm.events.update_cost(this.frm);
}
},
});