This commit is contained in:
Cayo Puigdefabregas 2022-05-12 10:05:37 +02:00
parent cba3bca8cf
commit eac90d32cf

View file

@ -692,7 +692,7 @@ class AllocateForm(ActionFormMix):
transaction = StringField(
'Transaction', [validators.Optional(), validators.length(max=50)]
)
end_users = IntegerField('End users', [validators.Optional()])
end_users = IntegerField('Number of end users', [validators.Optional()])
def validate(self, extra_validators=None):
if not super().validate(extra_validators):