2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Fixed supplier part detail handling in stock table

This commit is contained in:
eeintech
2021-07-06 14:32:16 -04:00
parent c2df1fcd95
commit 87a7081185
4 changed files with 5 additions and 2 deletions

View File

@ -688,6 +688,8 @@ function loadStockTable(table, options) {
{
field: 'supplier_part',
title: '{% trans "Supplier Part" %}',
visible: params['supplier_part_detail'] || false,
switchable: params['supplier_part_detail'] || false,
formatter: function(value, row) {
if (!value) {
return '-';