If you need to show a field only in edit mode you would need to use the class oe_edit_only. In the example below the field “content“, will be shown only when the form view is in edit mode
<field name="content" widget="html" class="oe_edit_only" />
If you need to show a field only in edit mode you would need to use the class oe_edit_only. In the example below the field “content“, will be shown only when the form view is in edit mode
<field name="content" widget="html" class="oe_edit_only" />