[MERGE] forward port branch saas-12.2 up to 465909f0fd

This commit is contained in:
Christophe Simonis
2019-06-27 19:10:09 +02:00
55 changed files with 479 additions and 81 deletions
@@ -1664,7 +1664,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,
},