Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
5908 Näkymät

Inglés

How's everyone.

I am starting in odoo 15 and I am trying to adjust my visual studio code to develop modules from 0, the problem is that when trying to create a new module it gives me the error No module named 'odoo' has anyone had this problem and can you help me to solve it.

Thank you



from odoo import models, fields

ModuleNotFoundError: No module named 'odoo'




Avatar
Hylkää
Paras vastaus

Hi 


check the addons path in your odoo conf, and also check in Visual Studio code that you configured the correct odoo with its odoo-bin file.

Check this blog for reference to implement Odoo development env in Visual Studio code

Odoo with vscode


Regards

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
jouluk. 22
2083
1
lokak. 23
2007
0
helmik. 23
36
1
huhtik. 24
1368
1
tammik. 24
1642