[MERGE] forward port branch 11.0 up to b1d43cc80e

This commit is contained in:
Christophe Simonis
2019-06-27 14:40:32 +02:00
13 changed files with 46 additions and 16 deletions
@@ -1317,7 +1317,7 @@ var FieldBinaryFile = AbstractFieldBinary.extend({
'id': this.res_id,
'field': this.name,
'filename_field': filename_fieldname,
'filename': this.recordData[filename_fieldname] || null,
'filename': this.recordData[filename_fieldname] || "",
'download': true,
'data': utils.is_bin_size(this.value) ? null : this.value,
},