mirror of https://github.com/OCA/social.git
[IMP] mass_mailing_list_dynamic: black, isort, prettier
parent
e40b564e71
commit
f35394754f
|
@ -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()
|
||||||
|
|
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue