From 8fd5c00ebd3ae4f978bbc6ef6efbf33488d896ce Mon Sep 17 00:00:00 2001 From: "ahmad(alah)" Date: Thu, 22 Feb 2024 02:42:21 +0200 Subject: [PATCH] [FIX] calendar: hide res model name while creating an event from another model Before this commit when you create an event from a lead, a button appears to jump back to the lead but while you're creating the record, it already appears but empty. This commit hides the button in case the res_model_name is null, which happens while we are creating the event and before hitting save. closes odoo/odoo#154956 Task: 3747059 Signed-off-by: Arnaud Joset (arj) --- addons/calendar/views/calendar_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/calendar/views/calendar_views.xml b/addons/calendar/views/calendar_views.xml index 9e2d8765a48..5bbede975da 100644 --- a/addons/calendar/views/calendar_views.xml +++ b/addons/calendar/views/calendar_views.xml @@ -108,7 +108,7 @@
-