account_followup: fix wizard for move line without partner

bzr revid: ced-096e6a38c1bd3a906d18cae1fc232b74523e131d
This commit is contained in:
ced 2007-07-10 15:25:10 +00:00
parent 927f44badb
commit bf646ec861
1 changed files with 2 additions and 1 deletions

View File

@ -92,7 +92,8 @@ class followup_all_print(wizard.interface):
"WHERE (l.reconcile_id IS NULL) "\
"AND (a.type='receivable') "\
"AND (l.state<>'draft') "\
"AND (l.reconcile_id is NULL) ")
"AND (l.reconcile_id is NULL) "\
"AND (l.partner_id is NOT NULL) ")
ids = map(lambda x: x[0], cr.fetchall())
return {'partner_ids': ids}