Make checkbox field non-switchable for stock table

This commit is contained in:
Oliver Walters 2020-08-28 10:49:49 +10:00
parent 2c1d585f8b
commit 86e675dbbd

View File

@ -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',