You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifprod_type_id:=getattr(kwargs.get("instance", Product()), "prod_type_id"): # we are editing existing instance
325
+
self.fields["prod_type"].queryset|=Product_Type.objects.filter(pk=prod_type_id) # even if user does not have permission for any other ProdType we need to add at least assign ProdType to make form submittable (otherwise empty list was here which generated invalid form)
324
326
325
327
# if this product has findings being asynchronously updated, disable the sla config field
0 commit comments