Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Change all fields to exclude nothing in form definition

Mira Szewczyk23b952cb2981
diff --git a/saleor/dashboard/product/forms.py b/saleor/dashboard/product/forms.py
index 6f69662042..1c144e3d7d 100644
--- a/saleor/dashboard/product/forms.py
+++ b/saleor/dashboard/product/forms.py
@@ -176,7 +176,7 @@ class ProductAttributeForm(forms.ModelForm):
class StockLocationForm(forms.ModelForm):
class Meta:
model = StockLocation
- fields = '__all__'
+ exclude = []
AttributeChoiceValueFormset = inlineformset_factory(