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 4d72c0d627
commit 6df3fe9a8b

View File

@ -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