diff options
| author | Nicolas Galler <ngl@odoo.com> | 2020-11-19 09:19:20 +0000 |
|---|---|---|
| committer | Nicolas Galler <ngl@odoo.com> | 2020-11-20 09:50:08 +0000 |
| commit | a1073325ed7cb231dcce27c8b2d2df67821bbdf4 (patch) | |
| tree | dd9b8e1f917776869ba46ad50bd3cad97cd0efea /addons/calendar/data | |
| parent | 7c32f977aa5233d47ba6aebef56dc70f7b7b9bac (diff) | |
[FIX] calendar: invalid accept link in reminder email
Behavior prior to the commit:
- the accept link in the reminder email for a meeting has a parameter
`event_id`, instead of `id`, which causes an error 500 when the user
tries to accept the meeting
Behavior after the commit:
- the accept link uses the correct `id` parameter
opw-2366173
closes odoo/odoo#61983
Signed-off-by: Nicolas Galler <ngaller@users.noreply.github.com>
Diffstat (limited to 'addons/calendar/data')
| -rw-r--r-- | addons/calendar/data/mail_data.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/calendar/data/mail_data.xml b/addons/calendar/data/mail_data.xml index d48bb4613e2..64b89533668 100644 --- a/addons/calendar/data/mail_data.xml +++ b/addons/calendar/data/mail_data.xml @@ -204,7 +204,7 @@ This is a reminder for the below event : </p> <div style="text-align: center; margin: 16px 0px 16px 0px;"> - <a href="/calendar/meeting/accept?token=${object.access_token}&event_id=${object.event_id.id}" + <a href="/calendar/meeting/accept?token=${object.access_token}&id=${object.event_id.id}" style="padding: 5px 10px; color: #FFFFFF; text-decoration: none; background-color: #875A7B; border: 1px solid #875A7B; border-radius: 3px"> Accept</a> <a href="/calendar/meeting/decline?token=${object.access_token}&id=${object.event_id.id}" |
