[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:
parent
0e28dc6b62
commit
a2e0acf7d4
|
@ -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
|
||||
""",
|
||||
|
|
Loading…
Reference in New Issue