Browse Source
[ADD] show a nicer writeup of selected domain
pull/816/head
Holger Brunn
7 years ago
No known key found for this signature in database
GPG Key ID: 1C9760FECA3AE18
1 changed files with
6 additions and
1 deletions
-
web_export_view/static/src/js/web_export_view.js
|
@ -77,7 +77,12 @@ openerp.web_export_view = function (instance) { |
|
|
else { |
|
|
else { |
|
|
deferred = view.dataset.read_slice(export_columns_keys); |
|
|
deferred = view.dataset.read_slice(export_columns_keys); |
|
|
export_columns_names.push( |
|
|
export_columns_names.push( |
|
|
String(view.dataset.domain || _('All records')) |
|
|
|
|
|
|
|
|
_t('Selected records:') + ' ' + |
|
|
|
|
|
String( |
|
|
|
|
|
_(view.ViewManager.searchview.query.pluck('values')) |
|
|
|
|
|
.chain().flatten(true).pluck('label').value() |
|
|
|
|
|
.join('; ') || _('All records') |
|
|
|
|
|
) |
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|
var x2many = _(export_columns_keys).filter(function(field) { |
|
|
var x2many = _(export_columns_keys).filter(function(field) { |
|
|