تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
6081 أدوات العرض

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
فبراير 19
2618
7
أغسطس 25
27771
1
ديسمبر 17
5948
0
أغسطس 19
3349
3
فبراير 24
1321