summaryrefslogtreecommitdiff
path: root/addons/account/report
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-11-22 17:52:57 +0100
committerChristophe Simonis <chs@odoo.com>2018-11-22 17:52:57 +0100
commitb09f624f20781d65baf2060df40383898e6f86e5 (patch)
treefbaf29a0fca1ce63e616698717435fd1a8413921 /addons/account/report
parentbab2a191d292737d1c2bc6b1650a1581614b0cc1 (diff)
parent263b388c5045bebc77cc27847f7500784f63c7f5 (diff)
[MERGE] forward port branch 11.0 up to 263b388c504
Diffstat (limited to 'addons/account/report')
-rw-r--r--addons/account/report/account_aged_partner_balance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account/report/account_aged_partner_balance.py b/addons/account/report/account_aged_partner_balance.py
index 38d93740912..32aaa2e3085 100644
--- a/addons/account/report/account_aged_partner_balance.py
+++ b/addons/account/report/account_aged_partner_balance.py
@@ -52,7 +52,7 @@ class ReportAgedPartnerBalance(models.AbstractModel):
arg_list = (tuple(move_state), tuple(account_type))
#build the reconciliation clause to see what partner needs to be printed
reconciliation_clause = '(l.reconciled IS FALSE)'
- cr.execute('SELECT debit_move_id, credit_move_id FROM account_partial_reconcile where create_date > %s', (date_from,))
+ cr.execute('SELECT debit_move_id, credit_move_id FROM account_partial_reconcile where max_date > %s', (date_from,))
reconciled_after_date = []
for row in cr.fetchall():
reconciled_after_date += [row[0], row[1]]