Skip to content

Commit

Permalink
Merge remote-tracking branch 'odoo/9.0' into 9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
OCA-git-bot committed Apr 20, 2017
2 parents 3fbb701 + e7a2a54 commit b6e26b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/account/report/account_overdue_report.py
Expand Up @@ -25,7 +25,7 @@ def _get_account_move_lines(self, partner_ids):
"FROM account_move_line l "
"JOIN account_account_type at ON (l.user_type_id = at.id) "
"JOIN account_move m ON (l.move_id = m.id) "
"WHERE l.partner_id IN %s AND at.type IN ('receivable', 'payable') GROUP BY l.date, l.name, l.ref, l.date_maturity, l.partner_id, at.type, l.blocked, l.amount_currency, l.currency_id, l.move_id, m.name", (((fields.date.today(), ) + (tuple(partner_ids),))))
"WHERE l.partner_id IN %s AND at.type IN ('receivable', 'payable') AND NOT l.reconciled GROUP BY l.date, l.name, l.ref, l.date_maturity, l.partner_id, at.type, l.blocked, l.amount_currency, l.currency_id, l.move_id, m.name", (((fields.date.today(), ) + (tuple(partner_ids),))))
for row in self.env.cr.dictfetchall():
res[row.pop('partner_id')].append(row)
return res
Expand Down

0 comments on commit b6e26b5

Please sign in to comment.