summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
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 466e3c9c5c9..2361d187d51 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -727,6 +727,11 @@
</tr>
</table>
</t>
+<t t-name="WidgetFrame.readonly" t-extend="WidgetFrame">
+ <t t-jquery="&gt;table">
+ this.attr('class', this.attr('class')+' oe_form_readonly');
+ </t>
+</t>
<t t-name="WidgetGroup">
<t t-if="widget.string">
<fieldset class="oe_group_box">
@@ -1710,4 +1715,4 @@
<t t-name="EmptyComponent">
<div></div>
</t>
-</templates> \ No newline at end of file
+</templates>