Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3193 Weergaven

I'm trying:

<xpath expr="//field[@name='field_1'] | //field[@name='field_2']" position="attributes">
<attribute name="required">1</attribute>

</xpath>

but, only one of the two field take the 'required' attribute,

Greetings.

Avatar
Annuleer
Beste antwoord

check this one.

https://www.odoo.com/forum/help-1/question/qweb-report-check-if-attribute-exist-81248

Avatar
Annuleer