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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -685,3 +685,6 @@ AssertionError: .validate() should return the validated data
|
||||
[2025-11-02 14:48:23,704] INFO django.utils.autoreload | IP: - | Path: - | Watching for file changes with StatReloader
|
||||
[2025-11-02 14:49:21,133] INFO django.utils.autoreload | IP: - | Path: - | D:\Project\Rasaddam_Backend\apps\authentication\services\visibility_services.py changed, reloading.
|
||||
[2025-11-02 14:49:23,410] INFO django.utils.autoreload | IP: - | Path: - | Watching for file changes with StatReloader
|
||||
[2025-11-02 15:01:55,002] INFO django.utils.autoreload | IP: - | Path: - | D:\Project\Rasaddam_Backend\apps\core\visibility_registry.py changed, reloading.
|
||||
[2025-11-02 15:01:59,909] INFO django.utils.autoreload | IP: - | Path: - | Watching for file changes with StatReloader
|
||||
[2025-11-02 15:33:11,579] INFO django.utils.autoreload | IP: - | Path: - | D:\Project\Rasaddam_Backend\apps\product\web\api\v1\serializers\quota_distribution_serializers.py changed, reloading.
|
||||
|
||||
Reference in New Issue
Block a user