From 433246a69ae28d9746fe7b69001643a4fad5bac2 Mon Sep 17 00:00:00 2001 From: Nisha patel Date: Fri, 27 Mar 2020 10:53:38 +0000 Subject: [PATCH] [IMP] base: Display warnning to user while view modification Purpose of the task is, Warn the user that we do not recommend editing the architecture of standard views because During migration if the client does standard views modification then during migration all views will be updated according to the new odoo version and all customization will be lost. So during upgraded database testing issues will come about that views or client will post issues and ask about where our customization is gone. So in this commit, we added alert message on edit of view like: 'Be aware that editing the architecture of a standard view is not advised, since the changes will be overwritten during future module updates. We recommend applying modifications to standard views through inherited views or customization with Odoo Studio.' closes odoo/odoo#48492 Taskid: 2219956 Closes: #48492 Signed-off-by: Yannick Tivisse (yti) --- odoo/addons/base/views/ir_ui_view_views.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/odoo/addons/base/views/ir_ui_view_views.xml b/odoo/addons/base/views/ir_ui_view_views.xml index b2881334979..352c58be17b 100644 --- a/odoo/addons/base/views/ir_ui_view_views.xml +++ b/odoo/addons/base/views/ir_ui_view_views.xml @@ -22,6 +22,10 @@ +