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

Hi friends,

I need to change code for web_login function in web/controllers/main.py

class name Home.I dont know how to inherit for that.Can anyone share how to do it

Thanks in advance

Avatar
Buang
Jawaban Terbai

from odoo.addons.web.controllers.main import Home


class Home(Home):

   def web_login(self, all prms):

       res = super(Home, self).web_login(all parms)

      #update the code 

      return res

Avatar
Buang

Hi,

I need to change "web_auth_signup" action to send an e-mail after registering a new member.

Does this work ?

Post Terkait Replies Tampilan Aktivitas
2
Agu 25
2430
2
Jun 25
785
3
Jun 24
3602
1
Mar 23
3980
2
Des 22
14907