diff --git a/InvenTree/part/serializers.py b/InvenTree/part/serializers.py index 7bec904ce0..0eebe6617d 100644 --- a/InvenTree/part/serializers.py +++ b/InvenTree/part/serializers.py @@ -336,7 +336,7 @@ class PartStarSerializer(InvenTreeModelSerializer): class BomItemSerializer(InvenTreeModelSerializer): """ Serializer for BomItem object """ - price_range = serializers.CharField(read_only=True) + # price_range = serializers.CharField(read_only=True) quantity = serializers.FloatField() @@ -387,7 +387,7 @@ class BomItemSerializer(InvenTreeModelSerializer): 'sub_part_detail', 'quantity', 'reference', - 'price_range', + # 'price_range', 'optional', 'overage', 'note', diff --git a/InvenTree/templates/js/bom.js b/InvenTree/templates/js/bom.js index c55429faba..9bbf8127e8 100644 --- a/InvenTree/templates/js/bom.js +++ b/InvenTree/templates/js/bom.js @@ -228,6 +228,12 @@ function loadBomTable(table, options) { } }); + /* + + // TODO - Re-introduce the pricing column at a later stage, + // once the pricing has been "fixed" + // O.W. 2020-11-24 + cols.push( { field: 'price_range', @@ -241,6 +247,7 @@ function loadBomTable(table, options) { } } }); + */ } // Part notes