Commit 16a2c28
committed
[FIX] survey: Use subject from template in surveys
When a user updates the subject on a template used for a survey, it
does not pull the subject from the template. It uses the default
subject that is used when computing the subject for a survey email that
is sent out. This bug came as a part of [this commit].
Steps to reproduce on runbot:
1. Go to mail templates and search for Survey
2. Open the Survey: Invite template
3. Update the subject on this template
4. Open the Surveys app and select any survey
5. Click on Share and then enable send by email
6. The subject here will default to "Participate to {Survey Name}"
[this commit]: odoo@220e027
opw-4654411
closes odoo#211153
Signed-off-by: Romain Derie (rde) <rde@odoo.com>1 parent 23814f1 commit 16a2c28
2 files changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
159 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
0 commit comments