Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
5065 Visualizzazioni

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
Abbandona

I'm wondering why you want this?

Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
ott 24
1416
1
nov 24
20295
1
nov 23
2669
1
set 23
3112
3
mag 23
5688