Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3211 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

check this one.

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

Awatar
Odrzuć