You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The parent field of an InventoryItem is used to arrange items hierarchically within a Device. For example:
- FPC 0
- PIC 0
- Xvcr 0
Currently, the parent field is a recursive ForeignKey, which does not allow for intelligent hierarchical ordering. We can change this to an MPTTField (like on the Region model) to greatly improve ordering and allow for more efficient queries.
The text was updated successfully, but these errors were encountered:
Issue type
[x] Feature request
[ ] Bug report
[ ] Documentation
Environment
Description
The
parent
field of an InventoryItem is used to arrange items hierarchically within a Device. For example:Currently, the
parent
field is a recursive ForeignKey, which does not allow for intelligent hierarchical ordering. We can change this to an MPTTField (like on the Region model) to greatly improve ordering and allow for more efficient queries.The text was updated successfully, but these errors were encountered: