From b6b7e8e2f6c26ae5b6a84951b0f72d22700db18c Mon Sep 17 00:00:00 2001 From: Sudharsanan Ashok <135326972+Sudharsanan11@users.noreply.github.com> Date: Tue, 14 Apr 2026 16:42:17 +0530 Subject: [PATCH] fix(stock): remove float precision to fix precision issue (#54284) --- .../batch_wise_balance_history/batch_wise_balance_history.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/report/batch_wise_balance_history/batch_wise_balance_history.py b/erpnext/stock/report/batch_wise_balance_history/batch_wise_balance_history.py index f61f2e51009..c44dc9633ae 100644 --- a/erpnext/stock/report/batch_wise_balance_history/batch_wise_balance_history.py +++ b/erpnext/stock/report/batch_wise_balance_history/batch_wise_balance_history.py @@ -250,7 +250,7 @@ def get_item_warehouse_batch_map(filters, float_precision): ) qty_dict.bal_qty = flt(qty_dict.bal_qty, float_precision) + flt(d.actual_qty, float_precision) - qty_dict.bal_value += flt(d.stock_value_difference, float_precision) + qty_dict.bal_value += flt(d.stock_value_difference) return iwb_map