Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Replacing localhost by server IP or name in password emails

on 10/30/14, 1:26 AM 1,126 views

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.



| 7 7 8
Turnhout, Belgium

My Odoo blog: http://www.odoo.yenthevg.com/

My Twitter: https://twitter.com/Yenthe666

On 10/30/14, 3:02 AM

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.

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

on 10/30/14, 3:11 AM

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

on 10/30/14, 3:16 AM

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

on 10/30/14, 3:22 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 10/30/14, 1:26 AM
Seen: 1126 times
Last updated: 3/16/15, 8:10 AM