mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-27 02:48:41 -06:00
minimal changes for travis test
This commit is contained in:
parent
b5961b883a
commit
b9e328f1bb
8
document_url/static/src/js/url.js
Normal file → Executable file
8
document_url/static/src/js/url.js
Normal file → Executable 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
2
document_url/wizard/document_url.py
Normal file → Executable 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
|
||||
|
Loading…
Reference in New Issue
Block a user