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

Dear all,

Here i want inherit auth_signup controller class "AuthSignupHome" in a custom module. i tried this following codes, but i got error which is 

class custom_signup(openerp.addons.auth_signup.controllers.main.AuthSignupHome):

a) 'module' object has no attribute 'auth_signup'

b)Couldn't load module 'custom_module'


Please give any suggestions

thanks in advance

Avatar
Descartar
Best Answer

Hello Jothimani

Try following:

import openerp

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

class my_class(AuthSignupHome):

    <custom code>


Hope this helps !!.

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de febr. 23
12034
0
de des. 15
6353
0
de juny 15
3084
0
d’abr. 15
3588
0
de març 15
9637