chore: fix issue

This commit is contained in:
rohitwaghchaure
2026-02-05 15:02:47 +05:30
committed by GitHub
parent 62616ad9e1
commit 1d24abf5dd

View File

@@ -283,7 +283,7 @@ class StockBalanceReport:
qty_dict[field] = entry.get(field) qty_dict[field] = entry.get(field)
if entry.voucher_type == "Stock Reconciliation" and ( if entry.voucher_type == "Stock Reconciliation" and (
not entry.batch_no or not entry.serial_no or not entry.serial_and_batch_bundle not entry.batch_no and not entry.serial_no and not entry.serial_and_batch_bundle
): ):
qty_diff = flt(entry.qty_after_transaction) - flt(qty_dict.bal_qty) qty_diff = flt(entry.qty_after_transaction) - flt(qty_dict.bal_qty)
else: else: