コンテンツへスキップ
メニュー
この質問にフラグが付けられました

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
2610
7
8月 25
27756
1
12月 17
5944
0
8月 19
3347
3
2月 24
1298