Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
6790 Visninger

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
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
feb. 23
12209
0
dec. 15
6475
0
jun. 15
3167
0
apr. 15
3702
0
mar. 15
9783