Skip to content

101medialab/pycharm-odoo-old

 
 

Repository files navigation

Features

  • Improve code completion and navigation for Python, XML, CSV and JavaScript
  • Support working with multiple Odoo versions in one project window
  • Other improvements to make PyCharm is the best IDE for Odoo

Installation

  1. Install this plugin from JetBrains Plugins Repository.
  2. (Recommended) Clone Odoo Stubs and attach to your project to improve code analysis.
  3. (Recommended) Install XPathView to support XML view inheritance features.
  4. (Recommended) Install CSV Plugin to support code completion and navigation in CSV files.
  5. (Optional) Install PyDev.Debugger plugin for Odoo to improve Odoo debugging.

Usage

A sample project structure that supports multiple odoo versions:

Project Structure

Screenshots

Python

Model name completion

Go to model declaration

Model member completion

Model member completion

Model member completion

Field path completion

XML ID completion

XML

XML completion

JavaScript

JavaScript completion

Screencast

https://www.youtube.com/watch?v=SMqepH2A4_4

Troubleshooting

If the module is installed and configured correctly but you still don't have any autocompletion, it's probably due to Pycharm index caches.

Try running the Invalidate Caches / Restart action, this should rebuild index caches from scratch and hopefully fix the issue.

Packages

No packages published

Languages

  • Java 100.0%