From abebb0b6f188f8c4a741233fbcdbae71c3ceed1a Mon Sep 17 00:00:00 2001 From: RuslansAlistek Date: Mon, 14 Jan 2013 18:02:02 +0200 Subject: [PATCH] Update send_wizard.py --- send_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/send_wizard.py b/send_wizard.py index a3c641f..78611e7 100644 --- a/send_wizard.py +++ b/send_wizard.py @@ -228,7 +228,7 @@ def get_end_value(id, value): context['src_rec_ids'] = context['src_rec_ids'][:1] for id in context['src_rec_ids']: - accounts = self.pool.get('poweremail.core_accounts').read(cr, uid, screen_vals['from'], context=context) + accounts = self.pool.get('poweremail.core_accounts').read(cr, uid, int(screen_vals['from']), context=context) vals = { 'pem_from': tools.ustr(accounts['name']) + "<" + tools.ustr(accounts['email_id']) + ">", 'pem_to': get_end_value(id, screen_vals['to']),