Skip to Content
Menu
This question has been flagged
1 Atsakyti
4371 Rodiniai

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

Portretas
Atmesti
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

Portretas
Atmesti
Autorius

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

Related Posts Replies Rodiniai Veikla
2
rugp. 22
11783
2
geg. 21
8625
2
rugp. 25
12075
5
rugs. 20
6353
1
gruod. 19
9767