summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnup (OpenERP) <ach@tinyerp.com>2010-06-24 17:18:39 +0530
committerAnup (OpenERP) <ach@tinyerp.com>2010-06-24 17:18:39 +0530
commit2ea0ca0aa00cb829a1dac8a485f7abe5facb9cfb (patch)
tree2ca5cd74aa3e22d1cf0e59f2e400b00d4a8cd7b2
parentfe0030c8f5a3e1c3f2b5ccc0a600111746ef3da7 (diff)
[FIX] account_followup : M2M field corrected in followup_print wizard
bzr revid: ach@tinyerp.com-20100624114839-pvlr8pmtomvawu4h
-rw-r--r--addons/account_followup/wizard/account_followup_print.py2
1 files changed, 1 insertions, 1 deletions
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 "\