Patch from old repository

This commit is contained in:
Renzo Meister 2021-03-29 09:07:52 +02:00 committed by OCA2FC Migrator Bot
parent e0add2fabb
commit 5b636790d4

View File

@ -58,6 +58,7 @@ class CustomerOutstandingStatement(models.AbstractModel):
WHERE l2.date <= '%s' WHERE l2.date <= '%s'
) as pc ON pc.credit_move_id = l.id ) as pc ON pc.credit_move_id = l.id
WHERE l.partner_id IN (%s) AND at.type = '%s' WHERE l.partner_id IN (%s) AND at.type = '%s'
AND l.full_reconcile_id IS NULL
AND ( AND (
(pd.id IS NOT NULL AND (pd.id IS NOT NULL AND
pd.max_date <= '%s') OR pd.max_date <= '%s') OR