[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:
parent
7bf22775a7
commit
aed955521f
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue