콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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

관련 게시물 답글 화면 활동
0
2월 19
2610
7
8월 25
27760
1
12월 17
5944
0
8월 19
3347
3
2월 24
1305