Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
6634 Vistas

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
Mejor respuesta

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
Publicaciones relacionadas Respuestas Vistas Actividad
1
feb 23
12015
0
dic 15
6335
0
jun 15
3060
0
abr 15
3578
0
mar 15
9625