Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3 Vastaukset
6059 Näkymät

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
Hylkää

can you explain it a bit more with example

Tekijä

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

Tekijä

@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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
helmik. 19
2609
7
elok. 25
27749
1
jouluk. 17
5941
0
elok. 19
3347
3
helmik. 24
1292