This guide will help you set up and start using Odoo Shortcuts in 5 minutes.
Ctrl+Shift+X / Cmd+Shift+X)code --install-extension odoo-shortcuts-0.40.4.vsix
Open Settings (Ctrl+,) and search for odooShortcuts.odooServerPaths:
{
"odooShortcuts.odooServerPaths": [
"/home/user/odoo",
"/home/user/enterprise"
]
}
This allows the LSP to index Odoo files for autocomplete.
For the explorer to detect correctly:
{
"odooShortcuts.coreAddonPatterns": [
"/odoo/addons/",
"/odoo/odoo/addons/"
],
"odooShortcuts.enterpriseAddonPatterns": [
"/enterprise/"
]
}
Ctrl+Shift+P)
| Action | Windows/Linux | Mac |
|---|---|---|
| New Addon | Ctrl+K Ctrl+A |
Cmd+K Cmd+A |
| Debug Odoo | Ctrl+K Ctrl+N |
Cmd+K Cmd+N |
| Debug JS | Ctrl+K J |
Cmd+K J |
| Filter Addons | Ctrl+K Ctrl+F |
Cmd+K Cmd+F |
| Open OWL definition | Ctrl+Shift+D |
Cmd+Shift+D |
When you open a Python file with Odoo models, youâll see links above each class:
class MyModel(models.Model): # â Links appear here
_name = 'my.model' # [Create Views] [Create Report]
Click to automatically generate code.

Odoo Shortcuts: Restart OWL/JS Language Server - Restart LSPOdoo Shortcuts: Reindex JavaScript Files - Update indexOdoo Shortcuts: Open Odoo Arguments Configuration - Configure argumentsQ: I donât see the Odoo Explorer A: Verify you have a workspace open with Odoo files.
Q: Autocomplete doesnât work
A: Restart the LSP: Ctrl+Shift+P â âRestart OWL/JS Language Serverâ
Q: My addons arenât detected
A: Verify they have __manifest__.py and configure paths correctly.
Ready for more? Explore the detailed features.