コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
7204 ビュー

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 ?

関連投稿 返信 ビュー 活動
2
8月 25
2435
2
6月 25
789
3
6月 24
3605
1
3月 23
3985
2
12月 22
14910