Language server support for Odoo projects in PyCharm.
This PyCharm plugin integrates the OdooLS language server for Odoo projects.
It provides advanced language features, including:
-
Hover information
-
Go to definition
-
Autocompletion
-
Diagnostics
For installation instructions and configuration details, see the OdooLS
Warning: OdooLS for PyCharm is only available in "unified version" of PyCharm. If you use the Community Edition, you have to update your program to the unified version (it's free and will be automatic starting from 2025.3). See https://blog.jetbrains.com/pycharm/2025/04/unified-pycharm/
-
Using the IDE built-in plugin system (Soon):
Settings/Preferences > Plugins > Marketplace > Search for "OdooLS-Pycharm" > Install
-
Using JetBrains Marketplace (Soon):
Go to JetBrains Marketplace and install it by clicking the Install to ... button in case your IDE is running.
You can also download the latest release from JetBrains Marketplace and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
To build the plugin, clone this repository and its submodule with
git clone git@github.com:odoo/odoo-ls-pycharm.git
cd odoo-ls-pycharm
git submodule init
git submodule update
Then, you have to put OdooLs binaries (and .pdb for windows) in src/main/resources/odoo-binaries. Then, you can launch
./gradlew clean buildPlugin
Your plugin will be in build/distributions
Plugin based on the IntelliJ Platform Plugin Template.