Skip to Content
Menu
This question has been flagged
3 Replies
6085 Zobrazenia

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.
Avatar
Zrušiť

can you explain it a bit more with example

Autor

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

Autor

@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 Replies Zobrazenia Aktivita
0
feb 19
2618
7
aug 25
27774
1
dec 17
5948
0
aug 19
3349
3
feb 24
1321