summaryrefslogtreecommitdiff
path: root/addons/calendar/data
diff options
context:
space:
mode:
authorNicolas Galler <ngl@odoo.com>2020-11-19 09:19:20 +0000
committerNicolas Galler <ngl@odoo.com>2020-11-20 09:50:08 +0000
commita1073325ed7cb231dcce27c8b2d2df67821bbdf4 (patch)
treedd9b8e1f917776869ba46ad50bd3cad97cd0efea /addons/calendar/data
parent7c32f977aa5233d47ba6aebef56dc70f7b7b9bac (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.xml2
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}&amp;event_id=${object.event_id.id}"
+ <a href="/calendar/meeting/accept?token=${object.access_token}&amp;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}&amp;id=${object.event_id.id}"