Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3315 Prikazi

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
Opusti
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
Opusti
Avtor

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.

Avtor

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

Related Posts Odgovori Prikazi Aktivnost
3
avg. 23
5250
1
dec. 24
4284
0
jun. 21
2336
2
maj 24
5142
3
jun. 22
5419