跳至内容
菜单
此问题已终结
1 回复
3209 查看

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

形象
丢弃