[IMP] mail_activity_team: black, isort, prettier

This commit is contained in:
Atchuthan Ubendran 2022-01-13 18:28:37 +05:30 committed by Bernat Puig Font
parent 9d4f02b710
commit fbe8f6ee77

View File

@ -18,7 +18,9 @@ class MailActivityMixin(models.AbstractModel):
if user_id:
team = (
self.env["mail.activity"]
.with_context(default_res_model=self._name,)
.with_context(
default_res_model=self._name,
)
._get_default_team_id(user_id=user_id)
)
# Even if it comes empty, we don't want to mismatch the user's team