diff --git a/document_url/static/src/js/url.js b/document_url/static/src/js/url.js old mode 100644 new mode 100755 index 595a6e7d..8261b094 --- a/document_url/static/src/js/url.js +++ b/document_url/static/src/js/url.js @@ -13,9 +13,9 @@ odoo.define('document_url', function(require) { this.items.url_doc = [ { action: { - id: "document_url.action_ir_attachment_add_url", - }, - }, + id: "document_url.action_ir_attachment_add_url" + } + } ]; return result; }, @@ -25,6 +25,6 @@ odoo.define('document_url', function(require) { // Open URLs in a different browser tab this.$el.find("a[href]").attr('target', '_blank'); return result; - }, + } }); }); diff --git a/document_url/wizard/document_url.py b/document_url/wizard/document_url.py old mode 100644 new mode 100755 index aa1431e2..86aff5f5 --- a/document_url/wizard/document_url.py +++ b/document_url/wizard/document_url.py @@ -2,7 +2,7 @@ # © 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com) # Pedro M. Baeza # © 2016 ACSONE SA/NV () -from odoo import models, fields, api, _ +from odoo import models, fields, api try: # Python 3 from urllib import parse as urlparse