Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3213 มุมมอง

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.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

check this one.

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

อวตาร
ละทิ้ง