mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
Merge pull request #41958 from rohitwaghchaure/fixed-17439
fix: do not show zero balance stock items in stock balance report
This commit is contained in:
@@ -137,6 +137,10 @@ class StockBalanceReport:
|
|||||||
report_data.update(
|
report_data.update(
|
||||||
{"reserved_stock": sre_details.get((report_data.item_code, report_data.warehouse), 0.0)}
|
{"reserved_stock": sre_details.get((report_data.item_code, report_data.warehouse), 0.0)}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if report_data and report_data.bal_qty == 0 and report_data.bal_val == 0:
|
||||||
|
continue
|
||||||
|
|
||||||
self.data.append(report_data)
|
self.data.append(report_data)
|
||||||
|
|
||||||
def get_item_warehouse_map(self):
|
def get_item_warehouse_map(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user