odoo-ide / vscode-odoo

Visual Studio Code extension for Odoo
https://marketplace.visualstudio.com/items?itemName=trinhanhngoc.vscode-odoo
39 stars 2 forks source link

more addons path.. #74

Closed LeonardoReyC closed 1 month ago

LeonardoReyC commented 2 months ago

After installation only base modules are detected... How can I add enterprise modules or personal modules? Thx in advance...

trinhanhngoc commented 2 months ago

Hello @LeonardoReyC ,

Make sure you added both the odoo source code and your custom addons to your VSCode workspace. Odoo IDE will try to recognize them automatically. If it cannot, you can manually add the Odoo source code and custom addons paths using the python.analysis.extraPaths setting.

image
Ngquang commented 2 months ago

@LeonardoReyC This is my setup. You can create setting.json in vscode and add python.analysis.extraPaths

image