[IMP] mass_mailing_list_dynamic: black, isort, prettier

pull/945/head
Víctor Martínez 2021-10-05 12:10:25 +02:00 committed by OCA-git-bot
parent aad1d9788b
commit 8ae21dba76
2 changed files with 5 additions and 3 deletions

View File

@ -10,7 +10,7 @@ class MassMailing(models.Model):
def _get_remaining_recipients(self):
"""When evaluating remaining recipients we must resync the list in
advance to avoid missing recipients due to domain change or new
partners fitting into the conditions"""
advance to avoid missing recipients due to domain change or new
partners fitting into the conditions"""
self.contact_list_ids.action_sync()
return super()._get_remaining_recipients()

View File

@ -11,5 +11,7 @@ class BasePartnerMergeAutomaticWizard(models.TransientModel):
return super(
BasePartnerMergeAutomaticWizard, self.with_context(syncing=True)
)._merge(
partner_ids=partner_ids, dst_partner=dst_partner, extra_checks=extra_checks,
partner_ids=partner_ids,
dst_partner=dst_partner,
extra_checks=extra_checks,
)