odoo-ide / pycharm-odoo-old

PyCharm plugin for Odoo

Home Page:https://plugins.jetbrains.com/plugin/13499-odoo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there something more to know to setup this?

HugoDelval opened this issue · comments

Hi,

sorry to post an issue here, but I can't find out how to use this module.

I think I did the configuration correctly :

image

I've also installed XPathView

And yet, I still get reference errors in my odoo files, for example if I open odoo/addons/account_analytic_default/models/account_analytic_default.py (a file in the official Odoo repo) I see this:

image

And the completion doesn't seem to work either:

image

Am I missing something?

I'm using the last version of Pycharm and the last version of your plugin in the official Pycharm plugin marketplace. The odoo repository is on the 12.0 branch.

Thanks a lot!

I am not sure. For example, this is my typical setup:

Screenshot from 2020-04-02 17-57-28

Try running Invalidate Caches / Restart... and restart PyCharm to check if it works for you. Thanks.

File account_analytic_default.py in my test:

Screenshot from 2020-04-02 18-12-07

Invalidating the caches worked, I don't quite understand why because I restarted Pycharm multiple times.

Thanks a lot for the fast response. It looks like an extremely useful module 🙏