diff --git a/InvenTree/part/templates/part/detail.html b/InvenTree/part/templates/part/detail.html index f8a2c4ba01..a737bfa6fc 100644 --- a/InvenTree/part/templates/part/detail.html +++ b/InvenTree/part/templates/part/detail.html @@ -763,10 +763,12 @@ part_2: { label: '{% trans "Related Part" %}', filters: { + exclude_id: {{ part.pk }}, exclude_related: {{ part.pk }}, } } }, + focus: 'part_2', title: '{% trans "Add Related Part" %}', onSuccess: function() { $('#related-parts-table').bootstrapTable('refresh');