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

Opening a view with 'target':'new' loses the pagination

By
Laetitia Gangloff (Acsone)
on 6/17/14, 6:45 AM 460 views

When user click on a button it opens a new window with a tree view. It doesn't display pagination button. How can I do to display these button ? (My list contains more than 80 items).

I use the following code to open my window:

return {
                'type': 'ir.actions.act_window',
                'name': _(' Result of ' + current_filter.name + ' Filter'),
                'view_type': 'form',
                'view_mode': 'tree, form',
                'res_model': current_filter.src_model_id.model,
                'view_id': False,
                'views': [(False, 'tree')],
                'context': context,
                'domain': current_filter.domain,
                'target': 'new',
        }

 

 

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: 6/17/14, 6:45 AM
Seen: 460 times
Last updated: 3/16/15, 8:10 AM