Skip to content

Commit

Permalink
Catch potential missing element (#7059) (#7060)
Browse files Browse the repository at this point in the history
(cherry picked from commit c823f14)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
  • Loading branch information
github-actions[bot] and SchrodingersGat authored Apr 17, 2024
1 parent 1677840 commit f80b116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion InvenTree/common/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def set_form_table_data(self, form=None):
for idx, item in row_data.items():
column_data = {
'name': self.column_names[idx],
'guess': self.column_selections[idx],
'guess': self.column_selections.get(idx, ''),
}

cell_data = {'cell': item, 'idx': idx, 'column': column_data}
Expand Down

0 comments on commit f80b116

Please sign in to comment.