mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-12 07:54:14 +00:00
Bug fixes
- Part creation form was setting a field as HiddenInput() rather than its widget - Added 'comment' file to FileAttachment model
This commit is contained in:
@ -98,7 +98,7 @@ class PartCreate(AjaxCreateView):
|
||||
form = super(AjaxCreateView, self).get_form()
|
||||
|
||||
# Hide the default_supplier field (there are no matching supplier parts yet!)
|
||||
form.fields['default_supplier'] = HiddenInput()
|
||||
form.fields['default_supplier'].widget = HiddenInput()
|
||||
|
||||
return form
|
||||
|
||||
|
Reference in New Issue
Block a user