This question has been flagged

Hi,


I want to set a system setting by default but it doesn't work in Odoo 13. 

I want to change 'web.base.url' from external IP to localhost. But immediatly after log out and log in, this setting go back to its default value.


How can I change this default value into localhost and keep it by default?


Thank you.

Regards.

Avatar
Discard
Best Answer

Hi Benjamin,

The web.base.url parameter is updated every time an admin logs into the system. This can be prevented by adding a second parameter called web.base.url.freeze with the value True.

Cheers
Jake Robinson

Avatar
Discard
Author

Nice! It works! Thank you so much Jake!!