Skip to content

dtorresxp/pycharm-odoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

297 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Features

  • Improve code completion and navigation for Python, XML 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 or manually download and install the latest version at here.
  2. (Recommended) Clone Odoo Stubs and attach to your project to improve code completion.
  3. (Recommended) Install XPathView to improve code completion in XML inheritance views.
  4. (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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages