Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
8733 Visninger

I am unable to find the documentation for altering the format of the link sent in password emails. It seems to mark it as "http://localhost:8069..." - I would like to replace the "localhost" part with my server IP address.

Avatar
Kassér
Bedste svar

This should be done under settings > technical > parameters > system parameters.
There is a parameter web.base.url which probably has http://localhost:8069/ for you. Modify this one to have your name (for example http://mydomain.com:8069/) 
To make this setting 'stick' and make sure that it is not overwritten by the system you should make a second parameter, web.base.url.freeze and set the value to true.
You should get this result:


Now check if you can print PDF's and if there is no delay on them. If that is the case you will need to make another parameter report.url but you'd need to update your code from Odoo from the new fixes. If this is the case let me know, then I'll write this part out too.

Avatar
Kassér
Forfatter

Worked perfectly. I am currently not in need of the PDF print feature. Thanks a lot for the clear instructions.

No problem! Do remember this third parameter because whenever you need to print a PDF it will have a serious delay and CSS will not come through. Please accept the answer if it solved your problem and is what you wanted. This will inform others that this solutions works :)

Forfatter

I apparently am a newbie without enough "karma" to accept your answer, but of course it was perfect!