mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fixes the problem reported by @eeintech ?
This commit is contained in:
parent
9d5b90190b
commit
ee582a5490
@ -414,6 +414,10 @@ class FileManagementFormView(MultiStepFormView):
|
||||
'data': data,
|
||||
'errors': {},
|
||||
}
|
||||
|
||||
# make sure that the row was submitted - solves https://github.com/inventree/InvenTree/pull/1588#issuecomment-847889353
|
||||
row_exist_check = [a for a in self.request.POST.keys() if a.startswith(f'row_{int(row_idx) +1}_')]
|
||||
if True in row_exist_check:
|
||||
self.rows.append(row)
|
||||
|
||||
# In the item selection step: update row data with mapping to form fields
|
||||
|
Loading…
Reference in New Issue
Block a user