Skip to content

Commit

Permalink
update rate based on uom conversion factor
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitwaghchaure committed Sep 5, 2017
1 parent 22cff25 commit c872095
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erpnext/manufacturing/doctype/bom/bom.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
},
});
Expand Down

0 comments on commit c872095

Please sign in to comment.