Hello,
I have set the auto refresh for the kanban view.
Auto refresh is doing well but when it auto refresh, i can't able to click on kanban view.
Here is my code for auto refresh :-
def return_action(self):
model_obj = self.env['ir.model.data']
data_id = model_obj._get_id('work_order', 'filing_main_menu_bag_detail_kanban_view')
view_id = model_obj.browse(data_id).res_id
return {
'type': 'ir.actions.act_window',
'name': _('Bag Detail'),
'res_model': 'bag.detail',
'view_type': 'kanban',
'view_mode': 'kanban',
'view_id' : view_id,
'target': 'current',
'nodestroy': True,
}
Hope for satisfactory reply.
Thanks,