diff --git a/api/app/services/validation_service.py b/api/app/services/validation_service.py index e2f00a9..735c23d 100644 --- a/api/app/services/validation_service.py +++ b/api/app/services/validation_service.py @@ -466,7 +466,7 @@ def validate_kit_component_prices(mapped_codmat_data: dict, id_pol: int, WHERE id_pol = :pol AND id_articol = :id_art """, {"pol": pol, "id_art": comp["id_articol"]}) row = cur.fetchone() - if not row or (row[0] is not None and row[0] == 0): + if not row: sku_missing.append(comp["codmat"]) if sku_missing: missing[sku] = sku_missing