Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>OpenERP Code SnippetsNew to Visual Studio Code? Get it now.
OpenERP Code Snippets

OpenERP Code Snippets

TheDavidDelta

|
4,708 installs
| (3) | Free
Snippets for developing OpenERP modules with Python and XML
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode OpenERP Code Snippets

Version Installs Ratings License

👨‍💻 Snippets for developing OpenERP modules with Python and XML

This extension is based on Michell Stuttgart's Odoo Code Snippets

🐍 Python Snippets

Snippet Description
oman Create OpenERP manifest
oimp Import OpenERP dependencies
omod Create new OpenERP model
ofbin Add new field of type 'binary'
ofbool Add new field of type 'boolean'
ofchar Add new field of type 'char'
ofdate Add new field of type 'date'
oftime Add new field of type 'datetime'
offloat Add new field of type 'float'
ofint Add new field of type 'integer'
oftext Add new field of type 'text'
ofsel Add new field of type 'selection'
ofm2o Add new field of type 'many2one'
ofo2m Add new field of type 'one2many'
ofm2m Add new field of type 'many2many'
ofrel Add new field of type 'related'
offunc Add new field of type 'function'
ofnct Create new OpenERP function
ofncto Create new OpenERP onchange function
ofnctb Create new OpenERP button function
ofnctc Create new OpenERP constraint function
ofncti Create new OpenERP inv function
ofncts Create new OpenERP search function

🗃️ XML Snippets

Snippet Description
odata Create OpenERP initial structure
oview Create new OpenERP view
oact Create new OpenERP action
omenur Create new OpenERP root menu
omenui Create new OpenERP menu item
ofield Create new OpenERP field
ofieldse Create new OpenERP field with select
ofieldrel Create new OpenERP field with colspan
obutton Create new OpenERP button field
ogroup Create new OpenERP fields group
onoteb Create new OpenERP notebook
opage Create new OpenERP notebook page
osep Create new OpenERP separator
oinh Create new OpenERP inherit field
omod Create new OpenERP full model
ofull Create OpenERP full XML structure

📝 License

Copyright © 2019 TheDavidDelta.
This project is MIT licensed.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft