Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
6669 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
úno 23
12042
0
pro 15
6355
0
čvn 15
3102
0
dub 15
3592
0
bře 15
9648