[DOC] report_xlsx: Update USAGE.rst

This commit is contained in:
Adam Heinz
2024-04-16 13:50:53 -04:00
committed by Dario Del Zozzo
parent 441a250a2d
commit e0a1185579

View File

@@ -22,12 +22,13 @@ To manipulate the `workbook` and `sheet` objects, refer to the
A report XML record :
<report
id="partner_xlsx"
model="res.partner"
string="Print to XLSX"
report_type="xlsx"
name="module_name.report_name"
file="res_partner"
attachment_use="False"
/>
<record id="action_report_partner_xlsx" model="ir.actions.report">
<field name="name">Print to XLSX</field>
<field name="model">res.partner</field>
<field name="report_type">xlsx</field>
<field name="report_name">module_name.report_name</field>
<field name="report_file">module_name.report_file</field>
<field name="binding_model_id" ref="res.partner"/>
<field name="binding_type">report</field>
<field name="attachment_use" eval="False"/>
</record>