odoo-ide / pycharm-odoo

PyCharm plugin for Odoo
https://plugins.jetbrains.com/plugin/13499-odoo
Other
41 stars 5 forks source link

odoo-stubs is not added as source folder #413

Closed gabit-ch closed 9 months ago

gabit-ch commented 9 months ago

Odoo is added as submodule to project and marked as source folder:

image

But no odoo-stubs is synced and added to project. Latest version of pycharm and odoo-ide plugin is installed.

trinhanhngoc commented 9 months ago

Hello @gabit-ch , Is odoo-stubs not added automatically even after restarting PyCharm?

gabit-ch commented 9 months ago

Hello @trinhanhngoc No, I have restarted PyCharm several times and there is no odoo-stubs visible in the project structure.

trinhanhngoc commented 9 months ago

@gabit-ch , Can you expand the odoo folder and take a screenshot again?

pycharm
gabit-ch commented 9 months ago

Please find below the screenshot of the odoo folder:

image
trinhanhngoc commented 9 months ago

@gabit-ch Can you temporarily Unmark Source all your custom addons folders except the odoo folder, then restart PyCharm and check again?

gabit-ch commented 9 months ago

@trinhanhngoc I have now unmark all other sources and restarted Pycharm, but there is still no odoo-stubs:

image
gabit-ch commented 9 months ago

Could it be a problem, that I have checked out master branch for odoo? I'm developing now for odoo 17 and this is why I use master branch. Before, I have added odoo-stubs as a submodule and used also checked out master branch. This worked perfect.

trinhanhngoc commented 9 months ago

@gabit-ch, I just found the cause of this problem. Please wait for the fix in the next version this week.

trinhanhngoc commented 9 months ago

Hi @gabit-ch , The new version 2023.9.1 has been released with the fix for this problem. You can update it and check again.

gabit-ch commented 9 months ago

@trinhanhngoc Many thanks for the bug fix. It works perfect!