[FIX] account_followup: account_followup_stat_by_partner view must not filter out blocked move lines

bzr revid: chs@openerp.com-20131008172319-1cobvh6i7kmlk1d0
This commit is contained in:
Christophe Simonis 2013-10-08 19:23:19 +02:00
parent a1d7575022
commit 5af16d6df8
1 changed files with 2 additions and 3 deletions

View File

@ -67,11 +67,10 @@ class account_followup_stat_by_partner(osv.osv):
a.active AND
a.type = 'receivable' AND
l.reconcile_id is NULL AND
l.partner_id IS NOT NULL AND
(l.blocked = False)
l.partner_id IS NOT NULL
GROUP BY
l.partner_id, l.company_id
)""") #Blocked is to take into account litigation
)""")
class account_followup_sending_results(osv.osv_memory):