fix: minor issue
diff --git a/erpnext/accounts/report/accounts_receivable/accounts_receivable.py b/erpnext/accounts/report/accounts_receivable/accounts_receivable.py
index dfe801c..39dfd29 100755
--- a/erpnext/accounts/report/accounts_receivable/accounts_receivable.py
+++ b/erpnext/accounts/report/accounts_receivable/accounts_receivable.py
@@ -824,7 +824,11 @@
if self.filters.get("customer_group"):
groups = get_customer_group_with_children(self.filters.customer_group)
- customers = qb.from_(self.customer).select(self.customer.name).where(self.customer['customer_group'].isin(groups))
+ customers = (
+ qb.from_(self.customer)
+ .select(self.customer.name)
+ .where(self.customer["customer_group"].isin(groups))
+ )
self.qb_selection_filter.append(self.ple.party.isin(customers))
if self.filters.get("territory"):
@@ -1118,6 +1122,7 @@
)
self.err_journals = [x[0] for x in results] if results else []
+
def get_customer_group_with_children(customer_groups):
if not isinstance(customer_groups, list):
customer_groups = [d.strip() for d in customer_groups.strip().split(",") if d]