Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
6089 Переглядів

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
2618
7
серп. 25
27776
1
груд. 17
5949
0
серп. 19
3349
3
лют. 24
1330