mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Make checkbox field non-switchable for stock table
This commit is contained in:
parent
2c1d585f8b
commit
86e675dbbd
@ -264,6 +264,7 @@ function loadStockTable(table, options) {
|
|||||||
queryParams: filters,
|
queryParams: filters,
|
||||||
customSort: customGroupSorter,
|
customSort: customGroupSorter,
|
||||||
groupBy: true,
|
groupBy: true,
|
||||||
|
name: 'stock',
|
||||||
original: original,
|
original: original,
|
||||||
showColumns: true,
|
showColumns: true,
|
||||||
groupByField: options.groupByField || 'part',
|
groupByField: options.groupByField || 'part',
|
||||||
@ -405,6 +406,7 @@ function loadStockTable(table, options) {
|
|||||||
checkbox: true,
|
checkbox: true,
|
||||||
title: '{% trans "Select" %}',
|
title: '{% trans "Select" %}',
|
||||||
searchable: false,
|
searchable: false,
|
||||||
|
switchable: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'pk',
|
field: 'pk',
|
||||||
|
Loading…
Reference in New Issue
Block a user