Skip to Content
मेन्यू
This question has been flagged
1 Reply
6796 Views

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
Discard
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
Discard
Related Posts Replies Views Activity
1
फ़र॰ 23
12216
0
दिस॰ 15
6480
0
जून 15
3182
0
अप्रैल 15
3707
0
मार्च 15
9791