diff --git a/InvenTree/company/templates/company/detail_part.html b/InvenTree/company/templates/company/detail_part.html index 1de24d9d7e..901ba94293 100644 --- a/InvenTree/company/templates/company/detail_part.html +++ b/InvenTree/company/templates/company/detail_part.html @@ -58,7 +58,7 @@ field: 'part', title: 'Part', formatter: function(value, row, index, field) { - return renderLink(value.name, value.url); + return renderLink(value.name, value.url + 'suppliers/'); } }, { @@ -73,6 +73,11 @@ sortable: true, field: 'manufacturer', title: 'Manufacturer', + }, + { + sortable: true, + field: 'MPN', + title: 'MPN', } ], url: "{% url 'api-part-supplier-list' %}" diff --git a/InvenTree/company/templates/company/partdetail.html b/InvenTree/company/templates/company/partdetail.html index b17fafebd6..0710e10053 100644 --- a/InvenTree/company/templates/company/partdetail.html +++ b/InvenTree/company/templates/company/partdetail.html @@ -35,7 +35,7 @@ {% if part.URL %} - {{ part.URL }} + URL{{ part.URL }} {% endif %} {% if part.description %} Description{{ part.description }} diff --git a/InvenTree/part/templates/part/supplier.html b/InvenTree/part/templates/part/supplier.html index a1201cc1e8..13c745e33a 100644 --- a/InvenTree/part/templates/part/supplier.html +++ b/InvenTree/part/templates/part/supplier.html @@ -69,6 +69,11 @@ sortable: true, field: 'manufacturer', title: 'Manufacturer', + }, + { + sortable: true, + field: 'MPN', + title: 'MPN', } ], url: "{% url 'api-part-supplier-list' %}"