fix - compare weight in distribution with parent or none

This commit is contained in:
2025-11-04 14:49:05 +03:30
parent 82e8c4f9fb
commit 03bd9e3c0e
2 changed files with 17 additions and 1 deletions

View File

@@ -1262,3 +1262,16 @@ TypeError: 'NoneType' object is not iterable
[2025-11-04 13:56:49,907] INFO django.server | IP: - | Path: - | "GET /product/pos/api/v1/distributions/rancher_distributions/?national_code=4050820765 HTTP/1.1" 200 135
[2025-11-04 14:41:31,421] INFO django.utils.autoreload | IP: - | Path: - | D:\Project\Rasaddam_Backend\apps\product\web\api\v1\serializers\quota_distribution_serializers.py changed, reloading.
[2025-11-04 14:41:36,126] INFO django.utils.autoreload | IP: - | Path: - | Watching for file changes with StatReloader
[2025-11-04 14:46:07,879] WARNING django.request | IP: 127.0.0.1 | Path: /pos_device/web/v1/pos/holders_share/ | Bad Request: /pos_device/web/v1/pos/holders_share/
[2025-11-04 14:46:07,879] WARNING django.server | IP: - | Path: - | "POST /pos_device/web/v1/pos/holders_share/ HTTP/1.1" 400 161
[2025-11-04 14:46:17,410] INFO django.utils.autoreload | IP: - | Path: - | D:\Project\Rasaddam_Backend\apps\product\web\api\v1\serializers\quota_distribution_serializers.py changed, reloading.
[2025-11-04 14:46:22,208] INFO django.utils.autoreload | IP: - | Path: - | Watching for file changes with StatReloader
[2025-11-04 14:46:28,564] WARNING django.request | IP: 127.0.0.1 | Path: /pos_device/web/v1/pos/holders_share/ | Bad Request: /pos_device/web/v1/pos/holders_share/
[2025-11-04 14:46:28,565] WARNING django.server | IP: - | Path: - | "POST /pos_device/web/v1/pos/holders_share/ HTTP/1.1" 400 161
[2025-11-04 14:46:38,910] INFO django.utils.autoreload | IP: - | Path: - | D:\Project\Rasaddam_Backend\apps\product\web\api\v1\serializers\quota_distribution_serializers.py changed, reloading.
[2025-11-04 14:46:43,043] INFO django.utils.autoreload | IP: - | Path: - | Watching for file changes with StatReloader
[2025-11-04 14:46:48,181] WARNING django.request | IP: 127.0.0.1 | Path: /pos_device/web/v1/pos/holders_share/ | Bad Request: /pos_device/web/v1/pos/holders_share/
[2025-11-04 14:46:48,181] WARNING django.server | IP: - | Path: - | "POST /pos_device/web/v1/pos/holders_share/ HTTP/1.1" 400 161
[2025-11-04 14:48:29,357] INFO django.utils.autoreload | IP: - | Path: - | D:\Project\Rasaddam_Backend\apps\product\web\api\v1\serializers\quota_distribution_serializers.py changed, reloading.
[2025-11-04 14:48:32,974] INFO django.utils.autoreload | IP: - | Path: - | Watching for file changes with StatReloader
[2025-11-04 14:48:39,380] INFO django.server | IP: - | Path: - | "POST /pos_device/web/v1/pos/holders_share/ HTTP/1.1" 201 6444