跳至內容
選單
此問題已被標幟
3 回覆
6082 瀏覽次數

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

相關帖文 回覆 瀏覽次數 活動
0
2月 19
2618
7
8月 25
27771
1
12月 17
5948
0
8月 19
3349
3
2月 24
1321