Skip to content

Commit 69f0e3b

Browse files
committed
Merge PR #919 into 17.0
Signed-off-by legalsylvain
2 parents b69c1d7 + df96811 commit 69f0e3b

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

report_xlsx/readme/USAGE.md

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

2323
A report XML record :
2424

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

0 commit comments

Comments
 (0)