fix: Consider paryt and party type as well in group by consolidated view
diff --git a/erpnext/accounts/report/general_ledger/general_ledger.py b/erpnext/accounts/report/general_ledger/general_ledger.py
index 0cbdf37..865cf14 100644
--- a/erpnext/accounts/report/general_ledger/general_ledger.py
+++ b/erpnext/accounts/report/general_ledger/general_ledger.py
@@ -435,7 +435,13 @@
gle_map[group_by_value].entries.append(gle)
elif group_by_voucher_consolidated:
- keylist = [gle.get("voucher_type"), gle.get("voucher_no"), gle.get("account")]
+ keylist = [
+ gle.get("voucher_type"),
+ gle.get("voucher_no"),
+ gle.get("account"),
+ gle.get("party_type"),
+ gle.get("party"),
+ ]
if filters.get("include_dimensions"):
for dim in accounting_dimensions:
keylist.append(gle.get(dim))