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.
 
 
 
 
 

22 lines
985 B

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Inherited form view if survey.question-->
<record id="survey_question_form" model="ir.ui.view">
<field name="name">survey.question.view.form.inherit.survey.upload.file</field>
<field name="model">survey.question</field>
<field name="inherit_id" ref="survey.survey_question_form"/>
<field name="arch" type="xml">
<xpath expr="//div[hasclass('o_preview_questions')]"
position="inside">
<div invisible="question_type != 'upload_file'">
<p class="o_upload_file">Upload Files
<i class="fa fa-upload"/>
</p>
</div>
</xpath>
<xpath expr="//field[@name='constr_mandatory']" position="after">
<field name="upload_multiple_file" invisible="question_type != 'upload_file'"/>
</xpath>
</field>
</record>
</odoo>