[MIG] document_url: Migration to 14.0

[MIG] document_url: Migration to 14.0
This commit is contained in:
davidborromeo
2021-09-01 14:59:52 +02:00
committed by FernandoRomera
parent 713539b38f
commit 5efdde8269
4 changed files with 18 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ odoo.define("document_url", function (require) {
AttachmentBox.include({
events: _.extend(AttachmentBox.prototype.events, {
"click span.o_add_url_button": "_onAddUrl",
"click button.o_add_url_button": "_onAddUrl",
}),
_onAddUrl: function () {
// Opens wizard to add an URL attachment to the current record