Skip to content

Commit

Permalink
[MIG] cmis_mail: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benwillig committed Dec 21, 2023
1 parent dd85cfe commit bf6cbbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmis_mail/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

{
"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
enable the CMIS storage. If the source model has more than one CMIS
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",
Expand Down
4 changes: 2 additions & 2 deletions cmis_mail/wizards/mail_compose_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit bf6cbbd

Please sign in to comment.