[IMP] relational field 'more values' dialog list features

force display of pager and search view, make list non-selectable

bzr revid: xmo@openerp.com-20121003152444-phnn9sc9nqo1ecpn
This commit is contained in:
Xavier Morel 2012-10-03 17:24:44 +02:00
parent fa2bc11025
commit 9c9d978109
1 changed files with 9 additions and 1 deletions

View File

@ -100,7 +100,15 @@ openerp.base_import = function (instance) {
: 'tree'
];
});
this.do_action(_.extend(action, {target: 'new'}));
this.do_action(_.extend(action, {
target: 'new',
flags: {
search_view: true,
display_title: true,
pager: true,
list: {selectable: false}
}
}));
},
// buttons
'click .oe_import_validate': 'validate',