From 9242c8fc5ca35f9f2d75e8f5465f79afa345622c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Warnon?= Date: Fri, 15 Jul 2022 06:22:33 +0000 Subject: [PATCH] [FIX] mail: hide stat-buttons in activity popup form Small oversight of: 4c6a010730423a2aa7b19b61d2fcd8f07a630af6 This commit simply hides the stat-buttons when the mail.activity is opened in the popup form. When in that popup form, you don't want to switch your context, especially considering the only button currently available allows you to open the related document (from which you just opened the activity popup form, creating a loop). Task-2920490 closes odoo/odoo#96238 X-original-commit: 7b6e700d7e7c54cac0200e98b4eb04af9f115608 Signed-off-by: Thibault Delavallee (tde) --- addons/mail/views/mail_activity_views.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/addons/mail/views/mail_activity_views.xml b/addons/mail/views/mail_activity_views.xml index 260222265fa..9c84845e38b 100644 --- a/addons/mail/views/mail_activity_views.xml +++ b/addons/mail/views/mail_activity_views.xml @@ -99,7 +99,7 @@
-
+