Hide "pricing" information in the BOM table

This commit is contained in:
Oliver Walters 2020-11-24 20:58:18 +11:00
parent 3ff0759bb9
commit e3231bbedb
2 changed files with 9 additions and 2 deletions

View File

@ -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',

View File

@ -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