diff options
| author | Aurélien Warnon <awa@odoo.com> | 2019-02-26 09:54:11 +0000 |
|---|---|---|
| committer | Aurélien Warnon <awa@odoo.com> | 2019-03-18 08:03:46 +0000 |
| commit | 2fb9fe279aebc24f642d1d5778cdc10012ff960f (patch) | |
| tree | 8a2c3d8c6ea351d449a3524231acaa305cfd4f3d /addons/survey/data/mail_template_data.xml | |
| parent | 3f6d09037df6e0dd524695c579036802685426f2 (diff) | |
[FIX] survey: prevent certification email from being sent twice
Purpose
=======
The certification email template had both "email_to" and "partner_to" fields set
and that implied the mail being sent twice.
This commit removes the "partner_to" field to fix it.
Diffstat (limited to 'addons/survey/data/mail_template_data.xml')
| -rw-r--r-- | addons/survey/data/mail_template_data.xml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/survey/data/mail_template_data.xml b/addons/survey/data/mail_template_data.xml index 222d1fbae11..94bc68b6016 100644 --- a/addons/survey/data/mail_template_data.xml +++ b/addons/survey/data/mail_template_data.xml @@ -40,7 +40,6 @@ <field name="name">Certification: Send by email</field> <field name="model_id" ref="survey.model_survey_user_input"/> <field name="email_to">${(object.partner_id.email_formatted or object.email) |safe}</field> - <field name="partner_to">${object.partner_id.id}</field> <field name="subject">Certification: ${object.survey_id.display_name}</field> <field name="report_template" ref="certification_report"/> <field name="report_name">Certification Document</field> |
