[MERGE] forward port branch saas-15 up to d090c92782

This commit is contained in:
Christophe Simonis
2019-06-27 14:25:31 +02:00
2 changed files with 8 additions and 3 deletions
@@ -1347,7 +1347,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,
},