Skip to Content
मेन्यू
This question has been flagged
1 Reply
7198 Views

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
Discard
Best Answer

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
Discard

Hi,

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

Does this work ?

Related Posts Replies Views Activity
2
अग॰ 25
2432
2
जून 25
785
3
जून 24
3603
1
मार्च 23
3982
2
दिस॰ 22
14909