Closed gabit-ch closed 9 months ago
Hello @gabit-ch , Is odoo-stubs
not added automatically even after restarting PyCharm?
Hello @trinhanhngoc No, I have restarted PyCharm several times and there is no odoo-stubs visible in the project structure.
@gabit-ch , Can you expand the odoo
folder and take a screenshot again?
Please find below the screenshot of the odoo folder:
@gabit-ch Can you temporarily Unmark Source all your custom addons folders except the odoo folder, then restart PyCharm and check again?
@trinhanhngoc I have now unmark all other sources and restarted Pycharm, but there is still no odoo-stubs:
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.
@gabit-ch, I just found the cause of this problem. Please wait for the fix in the next version this week.
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.
@trinhanhngoc Many thanks for the bug fix. It works perfect!
Odoo is added as submodule to project and marked as source folder:
But no odoo-stubs is synced and added to project. Latest version of pycharm and odoo-ide plugin is installed.