December 2018
Beginner to intermediate
404 pages
10h 14m
English
The <label> element can be used to better control the presentation of a field label. One case where this is used is to present the label only when the form is in edit mode:
<label for="name" class="oe_edit_only" />
When doing this, if the field is inside a <group> element, we usually want to also set nolabel="True" on it. The class="oe_edit_only" code can be used to apply a CSS style, making the label visible only in edit mode.
Read now
Unlock full access