Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
6065 Weergaven

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
Annuleer

can you explain it a bit more with example

Auteur

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

Auteur

@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

Gerelateerde posts Antwoorden Weergaven Activiteit
0
feb. 19
2610
7
aug. 25
27753
1
dec. 17
5943
0
aug. 19
3347
3
feb. 24
1297