Skip to content

Commit 74c3ade

Browse files
committed
Merge PR #869 into 14.0
Signed-off-by pedrobaeza
2 parents 0128aef + 4e68e44 commit 74c3ade

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

report_xlsx/readme/USAGE.rst

+10-9
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ To manipulate the ``workbook`` and ``sheet`` objects, refer to the
2121

2222
A report XML record ::
2323

24-
<report
25-
id="partner_xlsx"
26-
model="res.partner"
27-
string="Print to XLSX"
28-
report_type="xlsx"
29-
name="module_name.report_name"
30-
file="res_partner"
31-
attachment_use="False"
32-
/>
24+
<record id="action_report_partner_xlsx" model="ir.actions.report">
25+
<field name="name">Print to XLSX</field>
26+
<field name="model">res.partner</field>
27+
<field name="report_type">xlsx</field>
28+
<field name="report_name">module_name.report_name</field>
29+
<field name="report_file">module_name.report_file</field>
30+
<field name="binding_model_id" ref="res.partner"/>
31+
<field name="binding_type">report</field>
32+
<field name="attachment_use" eval="False"/>
33+
</record>

0 commit comments

Comments
 (0)