İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
6064 Görünümler

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
Vazgeç

can you explain it a bit more with example

Üretici

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

Üretici

@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

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Şub 19
2610
7
Ağu 25
27753
1
Ara 17
5943
0
Ağu 19
3347
3
Şub 24
1297