コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6771 ビュー

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
12167
0
12月 15
6455
0
6月 15
3157
0
4月 15
3682
0
3月 15
9773