I have a field that is defined as:-
request_text = fields.Html('Incident Description', required=True)
and in the xml:-
<field name="request_text" widget="html" />
But somehow the field is not mandatory in the form.
How do I make sure that the field is made mandatory and it is highlighted as mandatory in the form and the form shows validation error when it is submitted without filling this field?
Update:-
I've tried the following changes in the XML file unsuccessfully :-
<field name="request_text" widget="html" required="1"/>
<field name="request_text" widget="html">
<attribute name="required">True</attribute>
</field>
This is really strange given that the field definition is set to "required=true". Is this a bug?