Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2304 Vues

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


Avatar
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Auteur

@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

Publications associées Réponses Vues Activité
1
juin 22
1800
1
juil. 25
2353
2
juil. 25
7844
2
juil. 25
4236
2
juil. 25
4012