mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 12:35:46 +00:00
[PUI] BOM table updates (#7561)
* Update BOM table for PUI - Display "validated" column - Allow ordering by "validated" column * Update table rowActions * Add row action to validate BOM line * Enable bulk deletion of BOM items
This commit is contained in:
@ -1872,6 +1872,7 @@ class BomList(BomMixin, ListCreateDestroyAPIView):
|
||||
'inherited',
|
||||
'optional',
|
||||
'consumable',
|
||||
'validated',
|
||||
'pricing_min',
|
||||
'pricing_max',
|
||||
'pricing_min_total',
|
||||
|
@ -1458,7 +1458,7 @@ class BomItemSerializer(InvenTree.serializers.InvenTreeModelSerializer):
|
||||
- This saves a bunch of database requests
|
||||
"""
|
||||
part_detail = kwargs.pop('part_detail', False)
|
||||
sub_part_detail = kwargs.pop('sub_part_detail', False)
|
||||
sub_part_detail = kwargs.pop('sub_part_detail', True)
|
||||
pricing = kwargs.pop('pricing', True)
|
||||
|
||||
super().__init__(*args, **kwargs)
|
||||
|
Reference in New Issue
Block a user