From 6df3fe9a8b6ee325b3244c220b0cbb32d2b87948 Mon Sep 17 00:00:00 2001 From: Renzo Meister Date: Mon, 29 Mar 2021 09:07:52 +0200 Subject: [PATCH] Patch from old repository --- .../report/customer_outstanding_statement.py | 1 + 1 file changed, 1 insertion(+) diff --git a/customer_outstanding_statement/report/customer_outstanding_statement.py b/customer_outstanding_statement/report/customer_outstanding_statement.py index ffeba24..39e47c3 100644 --- a/customer_outstanding_statement/report/customer_outstanding_statement.py +++ b/customer_outstanding_statement/report/customer_outstanding_statement.py @@ -58,6 +58,7 @@ class CustomerOutstandingStatement(models.AbstractModel): WHERE l2.date <= '%s' ) as pc ON pc.credit_move_id = l.id WHERE l.partner_id IN (%s) AND at.type = '%s' + AND l.full_reconcile_id IS NULL AND ( (pd.id IS NOT NULL AND pd.max_date <= '%s') OR