From e7097fd6e11191b838f6dfdf48250ae274662b07 Mon Sep 17 00:00:00 2001 From: William Braeckman Date: Mon, 20 Sep 2021 15:16:43 +0000 Subject: [PATCH] [FIX] web: fix calendar quick create removing everything When an event is currently being inspected by the user, i.e. the popover is displayed and the user clicks somewhere else on the calendar, we do not wish to open the quick create menu, only close the popover. However the code that handled that case was not adapted to the regular calendar view, only the one from the calendar app and would remove all data currently displayed. This commit fixes that issue. TaskId-2652219 closes odoo/odoo#76939 X-original-commit: ea5c7b643be8c902b03a2ae175c051c479e45ed9 Signed-off-by: Kevin Baptiste --- addons/web/static/src/legacy/xml/web_calendar.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/legacy/xml/web_calendar.xml b/addons/web/static/src/legacy/xml/web_calendar.xml index 75982842616..9d184e64006 100644 --- a/addons/web/static/src/legacy/xml/web_calendar.xml +++ b/addons/web/static/src/legacy/xml/web_calendar.xml @@ -12,7 +12,7 @@ -
+