跳至內容
選單
此問題已被標幟
1 回覆
5880 瀏覽次數

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'




頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
12月 22
2061
1
10月 23
1980
0
2月 23
36
1
4月 24
1314
1
1月 24
1627