Skip to content

Commit dd53dc6

Browse files
committed
[NEW] Add data tag
1 parent 0047125 commit dd53dc6

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ Below is a list of all available snippets.
117117
| `obtn` | Add Odoo button |
118118
| `obtnbox` | Add Button Box on View |
119119
| `ofield` | Add Field on View |
120+
| `odata` | Add data tag on View |
120121

121122
## Contributing
122123

snippets/xml.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,5 +402,17 @@
402402
"<field name=\"${0:name}\"/>"
403403
],
404404
"description": "Create Field"
405+
},
406+
"odoo_data": {
407+
"prefix": "odata",
408+
"body": [
409+
"<odoo>",
410+
"\t<data noupdate=\"${1:1}\"/>",
411+
"\t\t<!-- Add you code here -->",
412+
"\t\t${0}",
413+
"\t</data>",
414+
"</odoo>"
415+
],
416+
"description": "Create Data Tag"
405417
}
406418
}

0 commit comments

Comments
 (0)