Fix indentation accounts_receivable.py (#15203)
This commit is contained in:
parent
4a394bcbf4
commit
fbc3df3247
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user