Giter Site home page Giter Site logo

pycharm-odoo's Introduction

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 or manually download and install the latest version at here.
  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.

pycharm-odoo's People

Contributors

trinhanhngoc avatar hugodelval avatar nunosilva1 avatar l0pital avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.