From 2ea0ca0aa00cb829a1dac8a485f7abe5facb9cfb Mon Sep 17 00:00:00 2001 From: "Anup (OpenERP)" Date: Thu, 24 Jun 2010 17:18:39 +0530 Subject: [PATCH] [FIX] account_followup : M2M field corrected in followup_print wizard bzr revid: ach@tinyerp.com-20100624114839-pvlr8pmtomvawu4h --- addons/account_followup/wizard/account_followup_print.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account_followup/wizard/account_followup_print.py b/addons/account_followup/wizard/account_followup_print.py index 3ba9301a365..89353993a85 100644 --- a/addons/account_followup/wizard/account_followup_print.py +++ b/addons/account_followup/wizard/account_followup_print.py @@ -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 "\