diff --git a/gnucash/report/business-reports/new-owner-report.scm b/gnucash/report/business-reports/new-owner-report.scm index 0cd1856fff..1e6a20f9b5 100644 --- a/gnucash/report/business-reports/new-owner-report.scm +++ b/gnucash/report/business-reports/new-owner-report.scm @@ -345,16 +345,12 @@ (gnc:make-gnc-monetary tfr-curr tfr-amt))))) result))))))))))) - (define (invoiceoverpayment-and-invoices txn) (let lp ((splits (xaccTransGetAPARAcctSplitList txn #f)) (overpayment 0) (invoices '())) (match splits - (() (cons (AP-negate overpayment) - (sort-and-delete-duplicates invoices invoiceinvoices-list txn) (list