fix - quota exception in distribution limit & sale licence and visibility free by org
This commit is contained in:
16
apps/core/visibility_registry.py
Normal file
16
apps/core/visibility_registry.py
Normal file
@@ -0,0 +1,16 @@
|
||||
VISIBILITY_MAP = {
|
||||
'userrelations': 'organization',
|
||||
'organization': 'id',
|
||||
'quota': ['registerer_organization', 'assigned_organizations'],
|
||||
'quotadistribution': ['assigner_organization', 'assigned_organization'],
|
||||
'inventoryentry': 'organization',
|
||||
'inventoryquotasaletransaction': 'organization',
|
||||
'device': 'organization',
|
||||
# 'deviceactivationcode': 'organization',
|
||||
# 'deviceversion': 'organization',
|
||||
# 'posclient': 'organization',
|
||||
# 'deviceassignment': 'organization',
|
||||
# 'stakeholders': 'organization',
|
||||
# 'stakeholdershareamount': 'registering_organization',
|
||||
# 'posfreeproducts': 'organization',
|
||||
}
|
||||
Reference in New Issue
Block a user