From 272a7e5f80a132c4d484b599bbcf538645cb063f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Thu, 27 Mar 2014 15:11:41 +0100 Subject: [PATCH] [FIX] email_template: fixed error in default recipients calculation bzr revid: tde@openerp.com-20140327141141-qe47tlnnfb5xt9s8 --- addons/email_template/email_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/email_template/email_template.py b/addons/email_template/email_template.py index b6dfb6834bb..4eb01d5cf3d 100644 --- a/addons/email_template/email_template.py +++ b/addons/email_template/email_template.py @@ -410,7 +410,7 @@ class email_template(osv.osv): default_recipients = {} for res_id, recipients in default_recipients.iteritems(): results[res_id].pop('partner_to', None) - results[res_id].update(default_recipients) + results[res_id].update(recipients) for res_id, values in results.iteritems(): partner_ids = values.get('partner_ids', list())