Skip to content

Commit

Permalink
[FIX] pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-via committed Sep 6, 2024
1 parent 9e6b69b commit c843f01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion account_move_export/models/account_move_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,13 +659,14 @@ def start_mail_composer(self):
mail_template = self.env.ref(
"account_move_export.account_move_export_mail_template"
)
email_layout_xmlid = "mail.mail_notification_layout_with_responsible_signature"
ctx = {
"default_model": self._name,
"default_res_id": self.id,
"default_use_template": True,
"default_template_id": mail_template.id,
"default_composition_mode": "comment",
"default_email_layout_xmlid": "mail.mail_notification_layout_with_responsible_signature",
"default_email_layout_xmlid": email_layout_xmlid,
"default_attachment_ids": [self.attachment_id.id],
"mark_export_as_sent": True,
"force_email": True,
Expand Down

0 comments on commit c843f01

Please sign in to comment.