Odoo modules related to surveys
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
659 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="survey_user_input_line_form" model="ir.ui.view">
  4. <field name="name">survey_attachment survey.user_input_line form</field>
  5. <field name="model">survey.user_input_line</field>
  6. <field name="inherit_id" ref="survey.survey_user_input_line_form"/>
  7. <field name="priority">20</field>
  8. <field name="arch" type="xml">
  9. <xpath expr="//field[@name='answer_type']" position="after">
  10. <field name="file" filename="filename" attrs="{'invisible': [('answer_type','!=','upload_file')]}"/>
  11. <field name="filename" invisible="1"/>
  12. </xpath>
  13. </field>
  14. </record>
  15. </odoo>