Odoo Help

0

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

By
Laetitia Gangloff (Acsone)
on 6/17/14, 6:45 AM 667 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',
        }

 

 

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