Skip to content

Commit

Permalink
[REF] Web: increase max. upload size to 100Mo
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBinsfeld committed May 5, 2021
1 parent 0a57778 commit f0aee98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/web/static/src/js/fields/basic_fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -1699,7 +1699,7 @@ var AbstractFieldBinary = AbstractField.extend({
this._super.apply(this, arguments);
this.fields = record.fields;
this.useFileAPI = !!window.FileReader;
this.max_upload_size = 25 * 1024 * 1024; // 25Mo
this.max_upload_size = 100 * 1024 * 1024; // 100Mo
if (!this.useFileAPI) {
var self = this;
this.fileupload_id = _.uniqueId('o_fileupload');
Expand Down

0 comments on commit f0aee98

Please sign in to comment.