Odoo Help

0

Replacing localhost by server IP or name in password emails

By
Shyamal
on 10/30/14, 1:26 AM 1,547 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.

2
Yenthe
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.

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

Yenthe
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!

Shyamal
on 10/30/14, 3:22 AM

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

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