diff --git a/InvenTree/part/templates/part/category_delete.html b/InvenTree/part/templates/part/category_delete.html
index 8b6d5618f3..c603637765 100644
--- a/InvenTree/part/templates/part/category_delete.html
+++ b/InvenTree/part/templates/part/category_delete.html
@@ -27,7 +27,7 @@ the top level 'Parts' category.
{% for part in category.parts.all %}
- - {{ part.name }} - {{ part.description }}
+ - {{ part.long_name }} - {{ part.description }}
{% endfor %}
{% endif %}
\ No newline at end of file
diff --git a/InvenTree/part/templates/part/detail.html b/InvenTree/part/templates/part/detail.html
index 419409a95d..3242316136 100644
--- a/InvenTree/part/templates/part/detail.html
+++ b/InvenTree/part/templates/part/detail.html
@@ -34,7 +34,7 @@
Part name |
- {{ part.name }} |
+ {{ part.long_name }} |
Description |
@@ -147,7 +147,7 @@
$('#activate-part').click(function() {
showQuestionDialog(
'Activate Part?',
- 'Are you sure you wish to reactivate {{ part.name }}?',
+ 'Are you sure you wish to reactivate {{ part.long_name }}?',
{
accept_text: 'Activate',
accept: function() {
@@ -169,7 +169,7 @@
$('#deactivate-part').click(function() {
showQuestionDialog(
'Deactivate Part?',
- `Are you sure you wish to deactivate {{ part.name }}?
+ `Are you sure you wish to deactivate {{ part.long_name }}?
`,
{
accept_text: 'Deactivate',
diff --git a/InvenTree/part/templates/part/used_in.html b/InvenTree/part/templates/part/used_in.html
index f1a055695e..f7272dfea6 100644
--- a/InvenTree/part/templates/part/used_in.html
+++ b/InvenTree/part/templates/part/used_in.html
@@ -27,7 +27,7 @@
$("#used-table").bootstrapTable({
sortable: true,
search: true,
- formatNoMatches: function() { return "{{ part.name }} is not used to make any other parts"; },
+ formatNoMatches: function() { return "{{ part.long_name }} is not used to make any other parts"; },
queryParams: function(p) {
return {
sub_part: {{ part.id }}