mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Exclude MPTT fields from Part model resource
This commit is contained in:
parent
852a680c09
commit
25cced3b90
@ -51,7 +51,8 @@ class PartResource(ModelResource):
|
||||
report_skipped = False
|
||||
clean_model_instances = True
|
||||
exclude = [
|
||||
'bom_checksum', 'bom_checked_by', 'bom_checked_date'
|
||||
'bom_checksum', 'bom_checked_by', 'bom_checked_date',
|
||||
'lft', 'rght', 'tree_id', 'level',
|
||||
]
|
||||
|
||||
def get_queryset(self):
|
||||
|
Loading…
Reference in New Issue
Block a user