diff --git a/apps/product/web/api/v1/serializers/quota_serializers.py b/apps/product/web/api/v1/serializers/quota_serializers.py index 4cd5e35..649dbec 100644 --- a/apps/product/web/api/v1/serializers/quota_serializers.py +++ b/apps/product/web/api/v1/serializers/quota_serializers.py @@ -53,7 +53,9 @@ class QuotaSerializer(serializers.ModelSerializer): "weight": dist.weight, } for dist in instance.distributions_assigned.filter(assigned_organization=org)] - representation['assigned_to_me'] = True if org in assigned_orgs else False + representation['assigned_to_me'] = True if ( + org in assigned_orgs or instance.registerer_organization == org + ) else False # list of assigned organizations that received this quota representation['assigned_organizations'] = [{