fix - distribution description required
This commit is contained in:
@@ -2,10 +2,12 @@ VISIBILITY_MAP = {
|
||||
'userrelations': 'organization',
|
||||
'organization': 'id',
|
||||
'quota': ['registerer_organization', 'assigned_organizations'],
|
||||
'quotastats': ['quota__registerer_organization', 'quota__assigned_organizations'],
|
||||
'quotadistribution': ['assigner_organization', 'assigned_organization'],
|
||||
'inventoryentry': 'organization',
|
||||
'inventoryquotasaletransaction': 'organization',
|
||||
'device': 'organization',
|
||||
|
||||
# 'deviceactivationcode': 'organization',
|
||||
# 'deviceversion': 'organization',
|
||||
# 'posclient': 'organization',
|
||||
|
||||
@@ -19,6 +19,9 @@ class QuotaDistributionSerializer(serializers.ModelSerializer):
|
||||
extra_kwargs = {
|
||||
'assigner_organization': {
|
||||
'required': False
|
||||
},
|
||||
'description': {
|
||||
'required': False
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user