[IMP] mail_activity_team: black, isort, prettier
This commit is contained in:
parent
9d4f02b710
commit
fbe8f6ee77
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user