Skip to content

Commit 0e80c1a

Browse files
committed
Add report tag
1 parent def9a1c commit 0e80c1a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

snippets/xml.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,5 +442,18 @@
442442
"</header>"
443443
],
444444
"description": "Create Header with Status Bar"
445+
},
446+
"odoo_report": {
447+
"prefix": "oreport",
448+
"body": [
449+
"<report id=\"report_${1}\"",
450+
"\t\tstring=\"${2:report_name}\"",
451+
"\t\tmodel=\"${3:model_name}\"",
452+
"\t\treport_type=\"${4:qweb-pdf}\"",
453+
"\t\tmenu=\"${5:False}\"",
454+
"\t\tfile=\"${6:module_name}.${7:template_name}\"",
455+
"\t\tname=\"${6:module_name}.${7:template_name}\"/>"
456+
],
457+
"description": "Create report tag"
445458
}
446459
}

0 commit comments

Comments
 (0)