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.
23 lines
1.0 KiB
23 lines
1.0 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<!-- Inherit survey to add xlsx report button, visibility field and attribute -->
|
|
<record id="survey_survey_view_form" model="ir.ui.view">
|
|
<field name="name">survey.survey.view.form.inherit.enhanced.survey.management</field>
|
|
<field name="model">survey.survey</field>
|
|
<field name="inherit_id" ref="survey.survey_survey_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='access_mode']" position="attributes">
|
|
<attribute name="access_mode"/>
|
|
</xpath>
|
|
<xpath expr="//page[@name='options']//group[@name='participants']"
|
|
position="inside">
|
|
<field name="visibility"/>
|
|
</xpath>
|
|
<xpath expr="//button[@name='action_result_survey']"
|
|
position="after">
|
|
<button name="action_answer_report_download"
|
|
string="Print XLSX" type="object"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|