2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 13:56:30 +00:00

renaming a few parts

This commit is contained in:
2021-05-22 15:39:54 +02:00
parent 900f707ff9
commit 3c5bb048a1
2 changed files with 6 additions and 6 deletions

View File

@ -727,7 +727,7 @@ class PartImport(FileManagementFormView):
''' Part: Upload file, match to fields and import parts(using multi-Step form) '''
permission_required = 'part.add'
class MyFileManager(FileManager):
class PartFileManager(FileManager):
REQUIRED_HEADERS = [
'Name',
'Description',
@ -777,7 +777,7 @@ class PartImport(FileManagementFormView):
'default_location': 'default_location',
'default_supplier': 'default_supplier',
}
file_manager_class = MyFileManager
file_manager_class = PartFileManager
def get_field_selection(self):
""" Fill the form fields for step 3 """