Skip to content

Commit

Permalink
fix: missing cr/dr notes on payment reconciliation
Browse files Browse the repository at this point in the history
(cherry picked from commit a30af68)
  • Loading branch information
ruthra-kumar authored and mergify[bot] committed Jul 18, 2024
1 parent 36c46bb commit 90ee21f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def get_return_invoices(self):
conditions.append(doc.docstatus == 1)
conditions.append(doc[frappe.scrub(self.party_type)] == self.party)
conditions.append(doc.is_return == 1)
conditions.append(doc.outstanding_amount != 0)

if self.payment_name:
conditions.append(doc.name.like(f"%{self.payment_name}%"))
Expand Down

0 comments on commit 90ee21f

Please sign in to comment.