diff --git a/InvenTree/order/templates/order/purchase_order_detail.html b/InvenTree/order/templates/order/purchase_order_detail.html index 2f9e57ca99..b9eb27d27c 100644 --- a/InvenTree/order/templates/order/purchase_order_detail.html +++ b/InvenTree/order/templates/order/purchase_order_detail.html @@ -146,6 +146,7 @@ $("#po-table").inventreeTable({ field: 'part', sortable: true, title: '{% trans "Part" %}', + switchable: false, formatter: function(value, row, index, field) { if (row.part) { return imageHoverIcon(row.part_detail.thumbnail) + renderLink(row.part_detail.full_name, `/part/${row.part_detail.pk}/`); @@ -180,6 +181,7 @@ $("#po-table").inventreeTable({ { sortable: true, field: 'received', + switchable: false, title: '{% trans "Received" %}', formatter: function(value, row, index, field) { return makeProgressBar(row.received, row.quantity, { @@ -203,6 +205,7 @@ $("#po-table").inventreeTable({ title: '{% trans "Notes" %}', }, { + switchable: false, field: 'buttons', title: '', formatter: function(value, row, index, field) { diff --git a/InvenTree/templates/js/order.js b/InvenTree/templates/js/order.js index 0c958c65a2..41a1b4c046 100644 --- a/InvenTree/templates/js/order.js +++ b/InvenTree/templates/js/order.js @@ -137,6 +137,7 @@ function loadPurchaseOrderTable(table, options) { sortable: true, field: 'reference', title: '{% trans "Purchase Order" %}', + switchable: false, formatter: function(value, row, index, field) { var prefix = "{% settings_value 'PURCHASEORDER_REFERENCE_PREFIX' %}";