Skip to Content
Menu
This question has been flagged
1 Atsakyti
6781 Rodiniai

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

Portretas
Atmesti
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 !!.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
vas. 23
12178
0
gruod. 15
6458
0
birž. 15
3158
0
bal. 15
3683
0
kov. 15
9778