Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4398 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
ผู้เขียน

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ส.ค. 22
11786
2
พ.ค. 21
8631
2
ส.ค. 25
12080
5
ก.ย. 20
6366
Filter field domain one2many to many2one แก้ไขแล้ว
1
ธ.ค. 19
9780