Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4 Відповіді
6577 Переглядів

Dear all, right now i try to build custom api using odoo, before that I am still new in odoo so I urgently needed your help :)

So as long as I read on existing documentation, it mention that we have to import odoo before build an api route, but in vscode I got an error like "import odoo cannot be resolved", I already change the python interpreter with odoo's python and try to fix addons_path with odoo addons, is there any solutions or documentation that I can read? Thanks! Really appreciate your help :)

Аватар
Відмінити
Найкраща відповідь

I don't know if VSCode has an extension for solving this problem but PyCharm has plugins for that see this article for Odoo Plugin 


Check the A) To Enable Auto Code Completion to configure your odoo with pycharm



Happy to help :) an upvote will be awesome


Аватар
Відмінити
Найкраща відповідь

Resolving Import "odoo" could not be resolved Pylance error solved in a youtube tutorial: 


Аватар
Відмінити
Автор Найкраща відповідь

test

Аватар
Відмінити