Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
8738 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

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 :)

Autore

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