Browse Source

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

TT344
pull/59/head
Víctor Martínez 3 years ago
parent
commit
93a87d6470
  1. 2
      privacy/models/privacy_activity.py

2
privacy/models/privacy_activity.py

@ -40,4 +40,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