mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
Update bank_reconciliation.py
This commit is contained in:
@@ -26,7 +26,7 @@ class BankReconciliation(Document):
|
|||||||
t2.parent = t1.name and t2.account = %s
|
t2.parent = t1.name and t2.account = %s
|
||||||
and t1.posting_date >= %s and t1.posting_date <= %s and t1.docstatus=1
|
and t1.posting_date >= %s and t1.posting_date <= %s and t1.docstatus=1
|
||||||
and ifnull(t1.is_opening, 'No') = 'No' %s
|
and ifnull(t1.is_opening, 'No') = 'No' %s
|
||||||
order by t1.posting_date""" %
|
order by t1.posting_date DESC, t1.name DESC""" %
|
||||||
('%s', '%s', '%s', condition), (self.bank_account, self.from_date, self.to_date), as_dict=1)
|
('%s', '%s', '%s', condition), (self.bank_account, self.from_date, self.to_date), as_dict=1)
|
||||||
|
|
||||||
self.set('journal_entries', [])
|
self.set('journal_entries', [])
|
||||||
|
|||||||
Reference in New Issue
Block a user