fix: Fetch base_net_total for each Invoice
diff --git a/erpnext/accounts/report/gross_profit/gross_profit.py b/erpnext/accounts/report/gross_profit/gross_profit.py
index 1a84138..e2fb49e 100644
--- a/erpnext/accounts/report/gross_profit/gross_profit.py
+++ b/erpnext/accounts/report/gross_profit/gross_profit.py
@@ -428,7 +428,7 @@
'item_row': None,
'is_return': row.is_return,
'cost_center': row.cost_center,
- 'base_net_amount': 0,
+ 'base_net_amount': frappe.db.get_value('Sales Invoice', row.parent, 'base_net_total'),
'base_rate': None
})