Odoo PyCharm Templates
Install
1. Extension installation
- (Recommended) Install XPathView to support XML view inheritance.
- (Recommended) Install the CSV plugin to support code completion and navigation in CSV files.
- (Recommended) Install [Odoo Autocompletion Support]( Odoo Autocompletion Support - IntelliJ IDEs Plugin | Marketplace ) to support code completion and navigation in CSV files.
- (Recommended) Install [Odoo File Support] ( Odoo - Plugin for IntelliJ IDEs | Marketplace ) to support code completion and navigation in CSV files.
2. Manual installation
- Download the Odoo.xml file
- Install this plugin into the python environment where the debugger runs.
pip install pydevd-odoo
- A template for
Odoo.xml
moving files to the PyCharm IDE.
If you are using a Linux distribution, you can Odoo.xml
save the file in the PyCharm IDE template folder, just find the path:
Linux distribution
Path: ~/.PyCharm*/config/templates
Apple OS
Path: ~/Library/Application Support/JetBrains/PyCharm*/templates
Restart PyCharmIDE: go to File | Invalidate Chaches / Restart...
the menu and click Just Restart
the button. PyCharm IDE will restart.