[MERGE] forward port branch saas-11.3 up to 2f2bc67c06

This commit is contained in:
Christophe Simonis
2019-06-27 17:24:24 +02:00
12 changed files with 46 additions and 15 deletions
@@ -1652,7 +1652,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,
},