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

i need to inherit addons/auth_signup/controllers/main.py, in my controller file added below line to import it but Pycharm showing error when mouse over on word: "auth_signup"  how i can resolve this, please help.

Cannot find reference 'auth_signup' in '__init__.py'

the line in my controller file:

from odoo.addons.auth_signup.controllers.main.auth_signup import AuthSignupHome

screenshot:


Avatar
Discard
Best Answer

Hello Mr.Smith ,

I think your import should look like this,

from odoo.addons.auth_signup.controllers.main import AuthSignupHome

Please check and confirm.

Avatar
Discard
Author

thanks @Karthikeyan, still same error... it was same as you have posted, i added "auth_signup" after "main" intentionally to check whether error removed or not but not.

Author

error is: Cannot find reference 'auth_signup' in '__init__.py'

Related Posts Replies Views Activity
3
Aug 23
5015
1
Dec 24
4097
0
Jun 21
2198
2
May 24
4982
3
Jun 22
5256