[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.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user