[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) <yti@odoo.com>
This commit is contained in:
committed by
Barad Mahendra
parent
f32067cb95
commit
433246a69a
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user