mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[IMP] base_report_to_printer_mail: black, isort, prettier
This commit is contained in:
@@ -5,6 +5,6 @@ class MailTemplate(models.Model):
|
||||
_inherit = "mail.template"
|
||||
|
||||
def generate_email(self, res_ids, fields=None):
|
||||
return super(MailTemplate, self.with_context(
|
||||
must_skip_send_to_printer=True
|
||||
)).generate_email(res_ids, fields=fields)
|
||||
return super(
|
||||
MailTemplate, self.with_context(must_skip_send_to_printer=True)
|
||||
).generate_email(res_ids, fields=fields)
|
||||
|
||||
Reference in New Issue
Block a user