mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 17:15:04 +00:00
Fix indentation accounts_receivable.py (#15203)
This commit is contained in:
8
erpnext/accounts/report/accounts_receivable/accounts_receivable.py
Normal file → Executable file
8
erpnext/accounts/report/accounts_receivable/accounts_receivable.py
Normal file → Executable file
@@ -382,10 +382,10 @@ class ReceivablePayableReport(object):
|
||||
values.append(self.filters.get("sales_person"))
|
||||
|
||||
if party_type_field=="supplier":
|
||||
if self.filters.get("supplier_group"):
|
||||
conditions.append("""party in (select name from tabSupplier
|
||||
where supplier_group=%s)""")
|
||||
values.append(self.filters.get("supplier_group"))
|
||||
if self.filters.get("supplier_group"):
|
||||
conditions.append("""party in (select name from tabSupplier
|
||||
where supplier_group=%s)""")
|
||||
values.append(self.filters.get("supplier_group"))
|
||||
|
||||
return " and ".join(conditions), values
|
||||
|
||||
|
||||
Reference in New Issue
Block a user