diff --git a/apps/accounts/signal_handlers.py b/apps/accounts/signal_handlers.py index ad07c9bb3..da96d0d01 100644 --- a/apps/accounts/signal_handlers.py +++ b/apps/accounts/signal_handlers.py @@ -62,7 +62,7 @@ def create_accounts_activities(account, action='create'): @receiver(post_save, sender=Account) def on_account_create_by_template(sender, instance, created=False, **kwargs): - if not created or instance.source != Source.TEMPLATE: + if not created: return push_accounts_if_need.delay(accounts=(instance,)) create_accounts_activities(instance, action='create')