fix - mydevices

This commit is contained in:
2025-11-11 12:36:04 +03:30
parent f8bbda203f
commit 9d7c065819
3 changed files with 25 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ VISIBILITY_MAP = {
'quotadistribution': ['assigner_organization', 'assigned_organization'],
'inventoryentry': 'organization',
'inventoryquotasaletransaction': 'seller_organization',
'device': 'organization',
'device': 'assignment__client__organization',
# 'deviceactivationcode': 'organization',
# 'deviceversion': 'organization',
@@ -21,9 +21,10 @@ VISIBILITY_MAP = {
VISIBILITY_MAP_BY_ORG_KEY = {
'device': {
'PSP': 'organization',
# 'CO': 'assignment__client__organization',
'CO': 'assignment__client__organization',
'CI': 'assignment__client__organization',
'PR': 'assignment__client__organization',
'U': 'assignment__client__organization',
'AGC': 'assignment__client__organization',
'EMP': 'assignment__client__organization',
},
}