Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3 Respostas
6074 Visualizações

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
Cancelar

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

Publicações relacionadas Respostas Visualizações Atividade
0
fev. 19
2611
7
ago. 25
27761
1
dez. 17
5945
0
ago. 19
3349
3
fev. 24
1307