跳至內容
選單
此問題已被標幟
3320 瀏覽次數

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',
        }

 

 

頭像
捨棄