Skip to Content
Menu
This question has been flagged
1 Reply
1610 Views

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
Discard
Best Answer

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
Discard
Author

@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 Replies Views Activity
1
Jun 22
1159
1
Nov 24
1483
1
Nov 24
1188
2
Sep 24
1047
1
Aug 24
2451