Restrict length of item name in quick setup

PRETIXEU-21V
This commit is contained in:
Raphael Michel
2020-04-15 09:20:55 +02:00
parent d799d560b7
commit 1871324ef4

View File

@@ -1250,7 +1250,7 @@ class QuickSetupForm(I18nForm):
class QuickSetupProductForm(I18nForm):
name = I18nFormField(
max_length=255,
max_length=200, # Max length of Quota.name
label=_("Product name"),
widget=I18nTextInput
)