跳至內容
選單
此問題已被標幟
1 回覆
6766 瀏覽次數

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
12164
0
12月 15
6453
0
6月 15
3156
0
4月 15
3682
0
3月 15
9771