fix: reconciled entries showing in bank reco (#20788)

This commit is contained in:
Saqib
2020-03-02 15:00:43 +05:30
committed by GitHub
parent b7bbd827fd
commit 1041516e8e

View File

@@ -38,7 +38,6 @@ class BankReconciliation(Document):
group by t2.account, t1.name
order by t1.posting_date ASC, t1.name DESC
""".format(condition=condition), {"account": self.account, "from": self.from_date, "to": self.to_date}, as_dict=1)
condition = ''
if self.bank_account:
condition += 'and bank_account = %(bank_account)s'