跳至內容
選單
此問題已被標幟
1 回覆
6691 瀏覽次數

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.

頭像
捨棄
最佳答案

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

頭像
捨棄
作者

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

相關帖文 回覆 瀏覽次數 活動
1
7月 24
11630
1
10月 24
5773
0
12月 21
2727
0
10月 20
4544
2
1月 23
5156