minimal changes for travis test

This commit is contained in:
Bilbonet 2018-09-29 21:00:40 +02:00
parent b5961b883a
commit b9e328f1bb
2 changed files with 5 additions and 5 deletions

8
document_url/static/src/js/url.js Normal file → Executable file
View File

@ -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;
},
}
});
});

2
document_url/wizard/document_url.py Normal file → Executable file
View File

@ -2,7 +2,7 @@
# © 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
# Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
# © 2016 ACSONE SA/NV (<http://acsone.eu>)
from odoo import models, fields, api, _
from odoo import models, fields, api
try:
# Python 3
from urllib import parse as urlparse