[IMP] survey_extra_fields, survey_base : modifications to make them work in v18

This commit is contained in:
2026-06-10 16:56:56 +02:00
parent 8f235646ef
commit 9d1cd2746a
10 changed files with 194 additions and 182 deletions

View File

@@ -8,7 +8,7 @@
<field name="arch" type="xml">
<xpath expr="//field[@name='suggested_answer_id']" position="after">
<field name="value_file" filename="value_file_fname" colspan="2"
attrs="{'invisible': [('answer_type', '!=', 'file')]}"/>
invisible="answer_type != 'file'"/>
<field name="value_file_fname" invisible="1"/>
</xpath>
</field>