fix - warehouse of quota stat in pos deviec complete - v2

This commit is contained in:
2025-11-26 17:39:46 +03:30
parent 64d5912a74
commit a4bfa46e5d
8 changed files with 38 additions and 33 deletions

View File

@@ -160,6 +160,7 @@ def rancher_quota_weight(
InventoryQuotaSaleItem,
quota_stat=quota_stat
)
print(rancher_remaining_usage)
if total_weight - rancher_remaining_usage < 0:
remaining_weight = 0