Browse Source

Merge PR #58 into 12.0

Signed-off-by Yajo
oca_12.0
OCA-git-bot 3 years ago
parent
commit
8bf27841dd
  1. 2
      privacy/models/privacy_activity.py

2
privacy/models/privacy_activity.py

@ -49,4 +49,4 @@ class PrivacyActivity(models.Model):
@api.model
def _default_controller_id(self):
"""By default it should be the current user's company."""
return self.env.user.company_id
return self.env.user.company_id.partner_id
Loading…
Cancel
Save