Skip to content

Commit 0e9b3b4

Browse files
fix(stock): remove float precision to fix precision issue (backport #54284) (#54288)
Co-authored-by: Sudharsanan Ashok <135326972+Sudharsanan11@users.noreply.github.com> fix(stock): remove float precision to fix precision issue (#54284)
1 parent 46a1c6f commit 0e9b3b4

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
@@ -219,7 +219,7 @@ def get_item_warehouse_batch_map(filters, float_precision):
219219
)
220220

221221
qty_dict.bal_qty = flt(qty_dict.bal_qty, float_precision) + flt(d.actual_qty, float_precision)
222-
qty_dict.bal_value += flt(d.stock_value_difference, float_precision)
222+
qty_dict.bal_value += flt(d.stock_value_difference)
223223

224224
return iwb_map
225225

0 commit comments

Comments
 (0)