diff --git a/addons/web/static/src/js/data_export.js b/addons/web/static/src/js/data_export.js index f065c996abe..78be735edc7 100644 --- a/addons/web/static/src/js/data_export.js +++ b/addons/web/static/src/js/data_export.js @@ -362,7 +362,9 @@ openerp.web.DataExport = openerp.web.Dialog.extend({ return export_field; }, on_click_export_data: function() { + var self = this; var exported_fields = this.$element.find('#fields_list option').map(function () { + var name = self.records[this.value] || this.value // DOM property is textContent, but IE8 only knows innerText return {name: this.value, label: this.textContent || this.innerText};