Use Pycharm to develop practical plug-ins for Odoo (Odoo PyCharm template)

Odoo PyCharm Templates

Install

1. Extension installation

  1. (Recommended) Install XPathView to support XML view inheritance.
  2. (Recommended) Install the CSV plugin to support code completion and navigation in CSV files.
  3. (Recommended) Install [Odoo Autocompletion Support]( Odoo Autocompletion Support - IntelliJ IDEs Plugin | Marketplace ) to support code completion and navigation in CSV files.
  4. (Recommended) Install [Odoo File Support] ( Odoo - Plugin for IntelliJ IDEs | Marketplace ) to support code completion and navigation in CSV files.

2. Manual installation

  1. Download the Odoo.xml file
  2. Install this plugin into the python environment where the debugger runs.
pip install pydevd-odoo
  1. A template for Odoo.xmlmoving files to the PyCharm IDE.

If you are using a Linux distribution, you can Odoo.xmlsave 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 Restartthe button. PyCharm IDE will restart.

Guess you like

Origin blog.csdn.net/iuv_li/article/details/128602654