mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-05 09:55:28 +00:00
Fix for #1111 (missing logic)
This commit is contained in:
1 parent
eead52a5dd
commit
b17b8db25c
1 file changed
+4
@@ -27,6 +27,10 @@ class HelperForm(forms.ModelForm):
|
||||
self.helper = FormHelper()
|
||||
|
||||
self.helper.form_tag = False
|
||||
|
||||
# Check for errors from model validation
|
||||
# If none, disable crispy form errors
|
||||
if not self.errors:
|
||||
self.helper.form_show_errors = False
|
||||
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user