update rate based on uom conversion factor
This commit is contained in:
parent
22cff25bf5
commit
c872095d76
@ -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);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user