[REV] revert partner.py to revision 9043 (error cf lp:1219381 comment #11)

bzr revid: mat@openerp.com-20131022091728-hebgvt1m26y9wjot
This commit is contained in:
Martin Trigaux 2013-10-22 11:17:28 +02:00
parent 0e28dc6b62
commit a2e0acf7d4
1 changed files with 1 additions and 2 deletions

View File

@ -116,8 +116,7 @@ class res_partner(osv.osv):
LEFT JOIN account_account a ON (l.account_id=a.id)
WHERE a.type IN ('receivable','payable')
AND l.partner_id IN %s
AND (l.reconcile_id IS NULL OR
reconcile_id in (SELECT id FROM account_move_reconcile WHERE opening_reconciliation is TRUE))
AND l.reconcile_id IS NULL
AND """ + query + """
GROUP BY l.partner_id, a.type
""",