Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
6630 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Feb 23
12013
0
Des 15
6331
0
Jun 15
3059
0
Apr 15
3578
0
Mar 15
9621