Fixed supplier part detail handling in stock table

This commit is contained in:
eeintech committed 2021-07-06 14:32:16 -04:00
1 parent c2df1fcd95
commit 87a7081185
4 files changed
+5 -2

No files matched your search

+2
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 '-';