Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
6705 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Autor

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

Publicações relacionadas Respostas Visualizações Atividade
1
jul. 24
11635
1
out. 24
5776
0
dez. 21
2739
0
out. 20
4561
2
jan. 23
5171