mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-12 14:58:24 +00:00
update rate based on uom conversion factor
This commit is contained in:
@@ -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);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user