mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-07 10:51:17 +00:00
Improvements
- part_detail defaults to True for BuildSerializer - Handle invalid parent for BuildOrder
This commit is contained in:
1 parent
be6ecd9587
commit
bec98d355a
2 files changed
+12
-2
No files matched your search
@@ -62,7 +62,7 @@ class BuildSerializer(InvenTreeModelSerializer):
|
||||
return queryset
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
part_detail = kwargs.pop('part_detail', False)
|
||||
part_detail = kwargs.pop('part_detail', True)
|
||||
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
|
||||
Reference in new issue
Block a user