Skip to content

Commit

Permalink
[DOC] report_xlsx: Update USAGE.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
amh-mw committed Aug 19, 2024
1 parent b69c1d7 commit df96811
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions report_xlsx/readme/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit df96811

Please sign in to comment.