[IMP] account_followup: don't send followup to partners that have only a credit note

bzr revid: qdp-launchpad@tinyerp.com-20100924092653-uotezyry3cx07t9g
This commit is contained in:
qdp-launchpad@tinyerp.com 2010-09-24 11:26:53 +02:00
parent 7bf22775a7
commit aed955521f
1 changed files with 2 additions and 1 deletions

View File

@ -116,6 +116,7 @@ class account_followup_print_all(osv.osv_memory):
"AND (l.state<>'draft') "\
"AND (l.partner_id is NOT NULL) "\
"AND (a.active) "\
"AND (l.debit > 0) "\
"ORDER BY l.date")
move_lines = cr.fetchall()
old = None
@ -294,4 +295,4 @@ class account_followup_print_all(osv.osv_memory):
account_followup_print_all()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: