Browse Source

[FIX][11.0] website_media_size travis warn

pull/618/merge
tbaden 1 month ago
parent
commit
5838a36e81

+ 1
- 1
website_media_size/README.rst View File

@@ -54,4 +54,4 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
54 54
 mission is to support the collaborative development of Odoo features and
55 55
 promote its widespread use.
56 56
 
57
-To contribute to this module, please visit https://odoo-community.org.
57
+To contribute to this module, please visit https://odoo-community.org.

+ 3
- 3
website_media_size/static/src/js/website_media_size.js View File

@@ -1,7 +1,7 @@
1 1
 /* Copyright 2018 Onestein
2 2
  * License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). */
3 3
 
4
-odoo.define('website_media_size', function(require) {
4
+odoo.define('website_media_size', function (require) {
5 5
     "use strict";
6 6
 
7 7
     var web_editor_widget = require('web_editor.widget');
@@ -11,12 +11,12 @@ odoo.define('website_media_size', function(require) {
11 11
         xmlDependencies: ImageDialog.prototype.xmlDependencies.concat(
12 12
             ['/website_media_size/static/src/xml/website_media_size.xml']
13 13
         ),
14
-        _rpc: function(params, options) {
14
+        _rpc: function (params, options) {
15 15
             if (params.model === 'ir.attachment' &&
16 16
                 params.method === 'search_read') {
17 17
                 params.kwargs.fields.push('file_size');
18 18
             }
19 19
             return this._super(params, options);
20
-        }
20
+        },
21 21
     });
22 22
 });

Loading…
Cancel
Save