Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
6077 Visualizzazioni

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
Abbandona

can you explain it a bit more with example

Autore

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

Autore

@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

Post correlati Risposte Visualizzazioni Attività
0
feb 19
2613
7
ago 25
27765
1
dic 17
5946
0
ago 19
3349
3
feb 24
1312