[IMP] mass_mailing_list_dynamic: black, isort, prettier

pull/1368/head
Víctor Martínez 2021-10-05 12:10:25 +02:00 committed by Pedro Evaristo Gonzalez Sanchez
parent e40b564e71
commit f35394754f
2 changed files with 5 additions and 3 deletions

View File

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

View File

@ -11,5 +11,7 @@ class BasePartnerMergeAutomaticWizard(models.TransientModel):
return super( return super(
BasePartnerMergeAutomaticWizard, self.with_context(syncing=True) BasePartnerMergeAutomaticWizard, self.with_context(syncing=True)
)._merge( )._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,
) )