[MERGE] forward port branch 12.0 up to cd21c016b0

This commit is contained in:
Christophe Simonis
2019-06-27 18:01:07 +02:00
38 changed files with 225 additions and 44 deletions
@@ -1655,7 +1655,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,
},