Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3302 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
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 Odpovědi Zobrazení Aktivita
3
srp 23
5239
1
pro 24
4277
0
čvn 21
2327
2
kvě 24
5132
3
čvn 22
5397