Remove hardcoded max limit

This commit is contained in:
Tobias 2019-01-25 12:08:37 +13:00
parent c8b912bfec
commit 1cd08fb373

View file

@ -184,8 +184,7 @@ class _QuantityBoxProductsForm(_ProductsForm):
field = forms.IntegerField( field = forms.IntegerField(
label=product.name, label=product.name,
help_text=help_text, help_text=help_text,
min_value=0, min_value=0
max_value=500, # Issue #19. We should figure out real limit.
) )
cls.base_fields[cls.field_name(product)] = field cls.base_fields[cls.field_name(product)] = field