From b9e328f1bb62c235761f90bc5dab692a7c587b7a Mon Sep 17 00:00:00 2001 From: Bilbonet Date: Sat, 29 Sep 2018 21:00:40 +0200 Subject: [PATCH] minimal changes for travis test --- document_url/static/src/js/url.js | 8 ++++---- document_url/wizard/document_url.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) mode change 100644 => 100755 document_url/static/src/js/url.js mode change 100644 => 100755 document_url/wizard/document_url.py 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