transaction serializer
This commit is contained in:
@@ -27,7 +27,6 @@ class BaseViewSet(RegionFilterMixin, viewsets.ModelViewSet):
|
||||
if visibility_by_org_scope:
|
||||
""" if organization has free visibility by scope, apply visibility filter """
|
||||
queryset = apply_visibility_filter(queryset, org)
|
||||
print("ssssssssssssss")
|
||||
return queryset
|
||||
|
||||
if user_relation.exists():
|
||||
|
||||
@@ -6,7 +6,7 @@ VISIBILITY_MAP = {
|
||||
'productstats': 'organization',
|
||||
'quotadistribution': ['assigner_organization', 'assigned_organization'],
|
||||
'inventoryentry': 'organization',
|
||||
'inventoryquotasaletransaction': 'organization',
|
||||
'inventoryquotasaletransaction': 'seller_organization',
|
||||
'device': 'organization',
|
||||
|
||||
# 'deviceactivationcode': 'organization',
|
||||
|
||||
Reference in New Issue
Block a user