diff --git a/tailbone/api/batch/receiving.py b/tailbone/api/batch/receiving.py index b02215d2..a0b61f38 100644 --- a/tailbone/api/batch/receiving.py +++ b/tailbone/api/batch/receiving.py @@ -414,8 +414,8 @@ class ReceivingBatchRowViews(APIBatchRowView): # TODO: this seems hacky, but avoids "complex" date value parsing form.set_widget('expiration_date', dfwidget.TextInputWidget()) if not form.validate(): - log.debug("form did not validate: %s", - form.make_deform_form().error) + log.warning("form did not validate: %s", + form.make_deform_form().error) return {'error': "Form did not validate"} # fetch / validate row object diff --git a/tailbone/forms/receiving.py b/tailbone/forms/receiving.py index 20c4774f..9f5706c7 100644 --- a/tailbone/forms/receiving.py +++ b/tailbone/forms/receiving.py @@ -52,6 +52,7 @@ class ReceiveRow(colander.MappingSchema): 'received', 'damaged', 'expired', + 'missing', # 'mispick', ]))