Skip to content

Commit 6e3549d

Browse files
fix(stock): remove float precision to fix precision issue (backport #54284) (#54289)
Co-authored-by: Sudharsanan Ashok <135326972+Sudharsanan11@users.noreply.github.com> fix(stock): remove float precision to fix precision issue (#54284)
1 parent d5143ed commit 6e3549d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

erpnext/stock/report/batch_wise_balance_history/batch_wise_balance_history.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def get_item_warehouse_batch_map(filters, float_precision):
250250
)
251251

252252
qty_dict.bal_qty = flt(qty_dict.bal_qty, float_precision) + flt(d.actual_qty, float_precision)
253-
qty_dict.bal_value += flt(d.stock_value_difference, float_precision)
253+
qty_dict.bal_value += flt(d.stock_value_difference)
254254

255255
return iwb_map
256256

0 commit comments

Comments
 (0)