Odoo Help

Welcome!

This community 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.

0

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

By
Jignesh Mehta
on 3/16/16, 4:06 AM 436 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,

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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