fix: on item change UOM not updated (#21242)

* fix: on item change UOM not updated

* removing uom from js
This commit is contained in:
Anupam Kumar 2020-04-21 12:57:44 +05:30 committed by GitHub
parent ca1c37c56d
commit a9d59fad94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -499,7 +499,6 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
conversion_factor: item.conversion_factor,
weight_per_unit: item.weight_per_unit,
weight_uom: item.weight_uom,
uom : item.uom,
manufacturer: item.manufacturer,
stock_uom: item.stock_uom,
pos_profile: me.frm.doc.doctype == 'Sales Invoice' ? me.frm.doc.pos_profile : '',