Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2310 Представления

please have a look on screenshot, i am using pycharm ce for development in odoo 14, when i just open the odoo/addons/auth_signup/controllers/main.py file it is showing errors, nothing changed just opened it to see. please advise.

in my conf file i have addons path as below:

addons_path = /home/odoo/odoo-dev/odoo/addons,/home/odoo/odoo-dev/odoo/custom_addons


Аватар
Отменить
Лучший ответ

Hi,

This is not the error in odoo, it is related with the odoo configuration in pycharm. Here what you have to do is that, open the source code in pycharm, right click on the odoo folder, and click on Make Directory As , then click Source Root.

Right click odoo, Make Directory As -> Source Root



Then make sure to add add sources to your PYTHONPATH, Run -> Edit Configuration, tick the below




Thanks

Аватар
Отменить
Автор

@Niyas Raphy i have done as instructed, but still the same situation, i know that this will not create problem when i upgrade app and/or start odoo server from command line or UI, all are working fine. the problem is where i wants to inherit the auth_signup controller or it seems a problem?

ignore the warning and go ahead, it wont create problem

Related Posts Ответы Просмотры Активность
1
июн. 22
1812
1
июл. 25
2361
2
июл. 25
7855
2
июл. 25
4254
2
июл. 25
4017