Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
5053 Zobrazení

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

Avatar
Zrušit

I'm wondering why you want this?

Nejlepší odpověď

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.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
říj 24
1409
1
lis 24
20292
1
lis 23
2666
1
zář 23
3110
3
kvě 23
5688