diff --git a/addons/mail/static/src/models/composer_view.js b/addons/mail/static/src/models/composer_view.js index d50c4269034..dc8ab35ff52 100644 --- a/addons/mail/static/src/models/composer_view.js +++ b/addons/mail/static/src/models/composer_view.js @@ -240,20 +240,7 @@ registerModel({ */ onClickSaveLink(ev) { ev.preventDefault(); - if (!this.composer.canPostMessage) { - if (this.composer.hasUploadingAttachment) { - this.messaging.notify({ - message: this.env._t("Please wait while the file is uploading."), - type: 'warning', - }); - } - return; - } - if (this.messageViewInEditing) { - this.updateMessage(); - return; - } - this.postMessage(); + this.sendMessage(); }, /** * Called when clicking on "send" button.