跳至内容
菜单
此问题已终结
1 回复
6663 查看

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

形象
丢弃
相关帖文 回复 查看 活动
1
2月 23
12031
0
12月 15
6350
0
6月 15
3082
0
4月 15
3586
0
3月 15
9637