mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Hide "pricing" information in the BOM table
This commit is contained in:
parent
3ff0759bb9
commit
e3231bbedb
@ -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',
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user