mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 19:46:46 +00:00
- Include stock_detail in BuildLine serializer by default (cherry picked from commit cd803640a9e6ab3299e3edd69f11ee769a1eec74) Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
parent
c326c7845a
commit
e5e18f3711
@ -1019,7 +1019,7 @@ class BuildItemSerializer(InvenTreeModelSerializer):
|
|||||||
"""Determine which extra details fields should be included"""
|
"""Determine which extra details fields should be included"""
|
||||||
part_detail = kwargs.pop('part_detail', True)
|
part_detail = kwargs.pop('part_detail', True)
|
||||||
location_detail = kwargs.pop('location_detail', True)
|
location_detail = kwargs.pop('location_detail', True)
|
||||||
stock_detail = kwargs.pop('stock_detail', False)
|
stock_detail = kwargs.pop('stock_detail', True)
|
||||||
build_detail = kwargs.pop('build_detail', False)
|
build_detail = kwargs.pop('build_detail', False)
|
||||||
|
|
||||||
super().__init__(*args, **kwargs)
|
super().__init__(*args, **kwargs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user