2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +00:00

[PUI] Update part duplicate forms (#7575)

- Enable copying of part details when duplicating a part
- Update forms
This commit is contained in:
Oliver
2024-07-07 12:50:31 +10:00
committed by GitHub
parent 8309eb628f
commit 3ce0202ffd
3 changed files with 30 additions and 3 deletions

View File

@ -603,6 +603,8 @@ class PartSerializer(
Used when displaying all details of a single component.
"""
import_exclude_fields = ['duplicate']
class Meta:
"""Metaclass defining serializer fields."""