Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
7212 Vues

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
Ignorer
Meilleure réponse

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
Ignorer

Hi,

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

Does this work ?

Publications associées Réponses Vues Activité
2
août 25
2440
2
juin 25
809
3
juin 24
3613
1
mars 23
3995
2
déc. 22
14915