Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4135 มุมมอง

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,

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ค. 24
1484
To show all stages in Kanban view แก้ไขแล้ว
3
ธ.ค. 23
21657
2
ต.ค. 16
5241
1
ก.ค. 16
4641
1
พ.ค. 16
12810