Skip to Content
Menú
This question has been flagged
1 Respondre
3305 Vistes

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
Descartar
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
Descartar
Autor

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.

Autor

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

Related Posts Respostes Vistes Activitat
3
d’ag. 23
5243
1
de des. 24
4282
0
de juny 21
2333
2
de maig 24
5137
3
de juny 22
5402