From 9b8f1d4236e20d2c51edeb53f0ada51608d73dac Mon Sep 17 00:00:00 2001 From: Hiral Bhavsar Date: Thu, 20 Aug 2020 09:53:32 +0000 Subject: [PATCH] [FIX] mail_bot_hr: preferences warning duplication MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this commit: Once the push notifications have been blocked, click on 'My Profile' displaying preferences warning twice with a different place inside the form after https://github.com/odoo/odoo/commit/328f6dbc984312049e94413fe9a46284cffcb3cb After this commit: A preferences warning will be displayed at the proper place by removing the primary mode from inherited view and add priority to it. LINKS Task-2323263 closes odoo/odoo#56218 X-original-commit: 9983914e2ddc60f6bb55a97a6b6e15e1f9d940d4 Signed-off-by: Alexandre Kühn (aku) --- addons/mail_bot_hr/views/res_users_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail_bot_hr/views/res_users_views.xml b/addons/mail_bot_hr/views/res_users_views.xml index ee0e374f57b..2a9815249b9 100644 --- a/addons/mail_bot_hr/views/res_users_views.xml +++ b/addons/mail_bot_hr/views/res_users_views.xml @@ -5,7 +5,7 @@ res.users.preferences.form.simplified.inherit res.users - primary + 15