From bf6cbbda432af3eea749c96316acc30c57da6250 Mon Sep 17 00:00:00 2001 From: Benjamin Willig Date: Thu, 21 Dec 2023 10:55:19 +0000 Subject: [PATCH] [MIG] cmis_mail: Migration to 16.0 --- cmis_mail/__manifest__.py | 4 ++-- cmis_mail/wizards/mail_compose_message.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmis_mail/__manifest__.py b/cmis_mail/__manifest__.py index c28689a0..ffb249c6 100644 --- a/cmis_mail/__manifest__.py +++ b/cmis_mail/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Cmis Mail", - "description": """ + "summary": """ This module allows to store attachments with CMIS from the mail composer if the source model has at least one CMIS folder. When attachments are added on the mail composer, a checkbox allows to @@ -11,7 +11,7 @@ folder, it is possible to specify in which one the attachments must be stored.""", "category": "Document Management", - "version": "13.0.1.0.0", + "version": "16.0.1.0.0", "license": "AGPL-3", "author": "ACSONE SA/NV", "website": "https://alfodoo.org", diff --git a/cmis_mail/wizards/mail_compose_message.py b/cmis_mail/wizards/mail_compose_message.py index d7bbf739..459647c1 100644 --- a/cmis_mail/wizards/mail_compose_message.py +++ b/cmis_mail/wizards/mail_compose_message.py @@ -80,8 +80,8 @@ def _save_attachments_in_cmis(self): contentType=mimetype, ) - def send_mail(self, auto_commit=False): - res = super().send_mail(auto_commit=auto_commit) + def _action_send_mail(self, auto_commit=False): + res = super()._action_send_mail(auto_commit=auto_commit) for rec in self: if rec.is_save_in_cmis_enabled: rec._save_attachments_in_cmis()