2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 20:45:44 +00:00

Merge pull request #939 from SchrodingersGat/column-remembering

Make checkbox field non-switchable for stock table
This commit is contained in:
Oliver
2020-08-31 22:08:56 +10:00
committed by GitHub
12 changed files with 81 additions and 1 deletions

View File

@ -127,6 +127,7 @@ function setupCallbacks() {
$("#po-table").inventreeTable({
onPostBody: setupCallbacks,
name: 'purchaseorder',
formatNoMatches: function() { return "{% trans 'No line items found' %}"; },
queryParams: {
order: {{ order.id }},
@ -138,6 +139,7 @@ $("#po-table").inventreeTable({
field: 'pk',
title: 'ID',
visible: false,
switchable: false,
},
{
field: 'part',

View File

@ -190,6 +190,7 @@ $("#so-lines-table").inventreeTable({
field: 'pk',
title: 'ID',
visible: false,
switchable: false,
},
{
sortable: true,