Better reporting of errors in long-and-thin categories

This commit is contained in:
Christopher Neugebauer 2016-08-22 15:03:08 +10:00
parent d52fc6eb9d
commit 482fe22d89

View file

@ -277,6 +277,7 @@ class _ItemQuantityProductsForm(_ProductsForm):
return
if product.id == self.cleaned_data[self.CHOICE_FIELD]:
self.add_error(self.CHOICE_FIELD, error)
self.add_error(self.QUANTITY_FIELD, error)