Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
6084 Представления

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.
Аватар
Отменить

can you explain it a bit more with example

Автор

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

Автор

@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

Related Posts Ответы Просмотры Активность
0
февр. 19
2618
7
авг. 25
27774
1
дек. 17
5948
0
авг. 19
3349
3
февр. 24
1321