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,
|
||||
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',
|
||||
|
Loading…
Reference in New Issue
Block a user