Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4381 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 22
11783
2
thg 5 21
8625
2
thg 8 25
12075
5
thg 9 20
6354
1
thg 12 19
9769