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

I want to reload the kanban view of tasks in project while changing the task stages. Given return as:

return {
'type': 'ir.actions.client',
'tag': 'reload',
}
But its not working.
อวตาร
ละทิ้ง

can you explain it a bit more with example

ผู้เขียน

In project module, while changing the stages of task i want to reload the kanban view page.

ผู้เขียน

@api.onchange('stage_id')

def reload_page(self):

# codes

return {

'type': 'ir.actions.client',

'tag': 'reload',

}

When i call this function on a button click it works. But i need to reload the page automatically when the stage is changed

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.พ. 19
2610
7
ส.ค. 25
27757
1
ธ.ค. 17
5944
0
ส.ค. 19
3347
3
ก.พ. 24
1304