Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
6783 Представления

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

Аватар
Отменить
Лучший ответ

Hello Jothimani

Try following:

import openerp

from openerp.addons.auth_signup.controllers.main import AuthSignupHome

class my_class(AuthSignupHome):

    <custom code>


Hope this helps !!.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
февр. 23
12178
0
дек. 15
6459
0
июн. 15
3158
0
апр. 15
3684
0
мар. 15
9778