Skip to content

Commit 2abf7fe

Browse files
committed
Add Odoo template inherit tag
1 parent 504c30b commit 2abf7fe

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
@@ -461,5 +461,14 @@
461461
"</template>"
462462
],
463463
"description": "Create Odoo template tag"
464+
},
465+
"odoo_template_inherit": {
466+
"prefix": "otemplatei",
467+
"body": [
468+
"<template id=\"template_${1:template_id}\" inherit_id=\"${2:module}.${1:parent_template}\" name=\"${4:Template Name}\">",
469+
"\t${0}",
470+
"</template>"
471+
],
472+
"description": "Create Odoo template inherit tag"
464473
}
465474
}

0 commit comments

Comments
 (0)