From 86e675dbbdeb62be086705c4db9fea1ce9818360 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 28 Aug 2020 10:49:49 +1000 Subject: [PATCH] Make checkbox field non-switchable for stock table --- InvenTree/templates/js/stock.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/InvenTree/templates/js/stock.html b/InvenTree/templates/js/stock.html index 9393b29739..f142f3f59f 100644 --- a/InvenTree/templates/js/stock.html +++ b/InvenTree/templates/js/stock.html @@ -264,6 +264,7 @@ function loadStockTable(table, options) { queryParams: filters, customSort: customGroupSorter, groupBy: true, + name: 'stock', original: original, showColumns: true, groupByField: options.groupByField || 'part', @@ -405,6 +406,7 @@ function loadStockTable(table, options) { checkbox: true, title: '{% trans "Select" %}', searchable: false, + switchable: false, }, { field: 'pk',