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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
|
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
Hi,
I need to change "web_auth_signup" action to send an e-mail after registering a new member.
Does this work ?
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit seRelated Posts | Odpovědi | Zobrazení | Aktivita | |
---|---|---|---|---|
|
2
srp 25
|
2426 | ||
Controller not working
Vyřešeno
|
|
2
čvn 25
|
776 | |
|
3
čvn 24
|
3599 | ||
|
1
bře 23
|
3975 | ||
|
2
pro 22
|
14903 |