summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2018-07-13 15:14:03 +0200
committerMartin Trigaux <mat@odoo.com>2018-07-25 11:17:51 +0200
commit7c8c27b9a937b7da538e0dbba3432013e8c989e2 (patch)
tree4309e04221a61db616a9351a708f3231400aaee6 /addons/web/static/src/xml/base.xml
parent4513ce18449ffdfa75e0359d733391027c72b419 (diff)
[ADD] web: easy to change noupdate value
It is currently difficult to mark a record as noupdate Make it doable in one click. The choice of what should and should not be on noupdate is personal and depends of the company need and how technical are the users. Problem raised at #25748 The res.lang records are typically complicated and changing the date format may break the database. Keeping it in noupdate=0 makes sense for most use but allow to change it if needed. Closes #25759
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 4c081b679dd..75d02c9046f 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -287,7 +287,12 @@
</tr>
<tr>
<th>No Update:</th>
- <td><t t-esc="perm.noupdate"/></td>
+ <td>
+ <t t-esc="perm.noupdate"/>
+ <t t-if="perm.xmlid">
+ <a data-action="toggle_noupdate">(change)</a>
+ </t>
+ </td>
</tr>
<tr>
<th>Creation User:</th>