Browse Source

[FIX] privacy: Change _default_controller_id() to partner_id.

TT344
pull/58/head
Víctor Martínez 3 years ago
parent
commit
e1901cf98f
  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