diff --git a/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.py b/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.py index b0043532ebcb..f96a6760bec0 100644 --- a/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.py +++ b/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.py @@ -505,9 +505,9 @@ def set_incoming_rate_for_inward_transaction(self, row=None, save=False): elif (d.incoming_rate == rate) and d.qty and d.stock_value_difference: continue - d.incoming_rate = rate + d.incoming_rate = flt(rate) if d.qty: - d.stock_value_difference = d.qty * d.incoming_rate + d.stock_value_difference = flt(d.qty) * d.incoming_rate if save: d.db_set(