We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d3bd24 commit 4a1e9ddCopy full SHA for 4a1e9dd
snippets/xml.json
@@ -498,6 +498,30 @@
498
],
499
"description": "Create Odoo t-if tag"
500
},
501
+ "odoo_template_elif": {
502
+ "prefix": "otelif",
503
+ "body": [
504
+ "<t t-if=\"${1:condition}\">",
505
+ "\t${0}",
506
+ "</t>",
507
+ "<t t-elif=\"${2:condition}\">",
508
509
+ "<t t-else=\"\">",
510
+ "</t>"
511
+ ],
512
+ "description": "Create Odoo t-ifelse tag"
513
+ },
514
+ "odoo_template_if_else": {
515
+ "prefix": "otifelse",
516
517
518
519
520
521
522
523
+ "description": "Create Odoo t-if and t-else tag"
524
525
"odoo_template_raw": {
526
"prefix": "otraw",
527
"body": [
0 commit comments