Skip to content

Commit 7a0c118

Browse files
committed
Add t-foreach tag
1 parent c1bec76 commit 7a0c118

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

snippets/xml.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,5 +479,14 @@
479479
"</t>"
480480
],
481481
"description": "Create Odoo t-call tag"
482+
},
483+
"odoo_template_foreach": {
484+
"prefix": "otforeach",
485+
"body": [
486+
"<t t-foreach=\"${1:array}\" t-as=\"${2:obj}\">",
487+
"\t${0}",
488+
"</t>"
489+
],
490+
"description": "Create Odoo t-foreach tag"
482491
}
483492
}

0 commit comments

Comments
 (0)