Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
6770 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
févr. 23
12167
0
déc. 15
6455
0
juin 15
3157
0
avr. 15
3682
0
mars 15
9773