|
|
@ -58,7 +58,7 @@ fields.FieldBinaryFile.include({ |
|
|
|
var binary_url = session.url('/web/content', { |
|
|
|
model: this.model, |
|
|
|
id: JSON.stringify(this.res_id), |
|
|
|
data: utils.is_bin_size(this.value) ? null : this.value, |
|
|
|
data: null, |
|
|
|
unique: unique ? unique.replace(/[^0-9]/g, '') : null, |
|
|
|
filename_field: filename_fieldname, |
|
|
|
filename: filename, |
|
|
|