From 7f4e00146db3b5775e9c6f8f1827dea3dba33486 Mon Sep 17 00:00:00 2001 From: Leonardo Pavan Rocha Date: Tue, 10 Jan 2023 13:18:43 +0000 Subject: [PATCH] [FIX] calendar: fix form view email button giving traceback After https://github.com/odoo/odoo/pull/99386, clicking on the email button in calendar.event form view would give a traceback as it tried accessing event_id on a calendar.event record. This commit fixes this error as the object in the template already is an instance of calendar.event. task-3127534 closes odoo/odoo#109549 Signed-off-by: Arnaud Joset --- addons/calendar/data/mail_template_data.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/calendar/data/mail_template_data.xml b/addons/calendar/data/mail_template_data.xml index 7638d032e8a..03d119d4d7d 100644 --- a/addons/calendar/data/mail_template_data.xml +++ b/addons/calendar/data/mail_template_data.xml @@ -457,9 +457,9 @@


- +
- --
Mitchell Admin
+ --
Mitchell Admin