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

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.
Ảnh đại diện
Huỷ bỏ

can you explain it a bit more with example

Tác giả

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

Tác giả

@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

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 19
2609
7
thg 8 25
27749
1
thg 12 17
5941
0
thg 8 19
3347
3
thg 2 24
1292