I have a simple 3-field form, and I want to make all fields required. I have tried this:
<field name="name" required />
(Invalid XML)
and this:
<field name="name" attrs="{'required': [('id', '!=', False)]}" />
which gives this error:
Error: Unknown field id in domain [["id","!=",false]]
Every record gets an id on creation, right? So shouldn't the second version work? How do you make a field required at all times?