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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I'm trying:
</xpath>
but, only one of the two field take the 'required' attribute,
Greetings.
check this one.
https://www.odoo.com/forum/help-1/question/qweb-report-check-if-attribute-exist-81248
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up