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

Hello All,

I created a button(Edit) in sale order line and when i am using this button then values returns in sale order form.  Process is going well, but problem is that changes reflected after browser reload( Either F5 or UI). And i want this browser reload by coding. So, What kind of syntax or method?

Thanks in advance

Avatar
Cancelar
Melhor resposta

Hi,

To reload the browser just return like this from action of the button,

return {
'type': 'ir.actions.client',
'tag': 'reload',
}

This will reload the browser.

Thanks

Avatar
Cancelar
Autor

Thanks @Niyas ... It's work...!!

Publicações relacionadas Respostas Visualizações Atividade
2
ago. 22
11783
2
mai. 21
8625
2
ago. 25
12075
5
set. 20
6354
1
dez. 19
9769