[FIX] account_followup : M2M field corrected in followup_print wizard

bzr revid: ach@tinyerp.com-20100624114839-pvlr8pmtomvawu4h
This commit is contained in:
Anup (OpenERP) 2010-06-24 17:18:39 +05:30
parent fe0030c8f5
commit 2ea0ca0aa0
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ class account_followup_print_all(osv.osv_memory):
data['followup_id'] = 'followup_id' in context and context['followup_id'] or False
date = 'date' in context and context['date'] or data['date']
for id in to_update.keys():
if to_update[id]['partner_id'] in data['partner_ids'][0][2]:
if to_update[id]['partner_id'] in data['partner_ids']:
cr.execute(
"UPDATE account_move_line "\
"SET followup_line_id=%s, followup_date=%s "\