Skip to Content
Menu
This question has been flagged
1 Odpoveď
4375 Zobrazenia

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
Zrušiť
Best Answer

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
Zrušiť
Autor

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

Related Posts Replies Zobrazenia Aktivita
2
aug 22
11783
2
máj 21
8625
2
aug 25
12075
5
sep 20
6354
1
dec 19
9769