Odoo Help

0

Click on Kanban doesn't work after auto refreh kanban view in Odoo9

By
Jignesh Mehta
on 3/16/16, 4:06 AM 812 views

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,

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 3/16/16, 4:06 AM
Seen: 812 times
Last updated: 3/17/16, 12:28 AM