跳至內容
選單
此問題已被標幟
2 回覆
5059 瀏覽次數

Hello,

Is it possible to remove this filter "db=XXX' from any auto generated link sent in emails.

for example, when you create a new user, he gets an invitation email with a abutton to accept it. When you hover on this button link, it will be something like this http://yourdomain.com/web/reset_password?token=4dsfsdfrefrf45d&db=database_name

頭像
捨棄

I'm wondering why you want this?

最佳答案

yes, it is possible. but not recommended. but still, if you wanted to remove it do followings,

  • Make sure you have added db-filter parameter odoo configuration file

  • From a custom module change the signup URL. for that, you can find the related method in auth_signup> res_parter.py file. the method name is  _get_signup_url_for_action.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
10月 24
1409
1
11月 24
20293
1
11月 23
2666
1
9月 23
3112
3
5月 23
5688