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.
15 lines
596 B
15 lines
596 B
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data noupdate="0">
|
|
<!-- Print button in survey.survey model-->
|
|
<record id="survey_survey_action" model="ir.actions.server">
|
|
<field name="name">Survey XLSX Report</field>
|
|
<field name="model_id" ref="survey.model_survey_survey"/>
|
|
<field name="binding_model_id" ref="survey.model_survey_survey"/>
|
|
<field name="state">code</field>
|
|
<field name="code">
|
|
action = records.action_print_xlsx_report()
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|
|
|