Skip to content
Snippets Groups Projects
Commit 433246a6 authored by Nisha patel's avatar Nisha patel Committed by Barad Mahendra
Browse files

[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: default avatarYannick Tivisse (yti) <yti@odoo.com>
parent f32067cb
Branches
Tags
No related merge requests found
......@@ -22,6 +22,10 @@
<field name="xml_id"/>
</group>
</group>
<div class="oe_edit_only alert alert-info" role="alert">
Be aware that editing the architecture of a standard view is not advised, since the changes will be overwritten during future module updates.<br/>
We recommend applying modifications to standard views through inherited views or customization with Odoo Studio.
</div>
<notebook>
<page string="Architecture" name="architecture">
<button type="object" name="open_translations"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment