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
{{ message }}
Repository navigation
[FR] Log and display change history of parts #8856
Please verify that this feature request has NOT been suggested before.
I checked and didn't find a similar feature request
Problem statement
Have a change history for parts with at least date, user and subject to change. Currently it is not possible to track what modifications have been made to a part.
Suggested solution
If a part is created from within the admin tool, the change history can be accessed in the admin tool as shown in the image. This is stored in the django_admin_log table.
If a part is created outside of the admin tool, there will be no change history and in the admin tool it displays This object doesn’t have a change history. It probably wasn’t added via this admin site.
A change history should be stored for any part, regardless of where it's created, and (possibly in a second step) displayed on the part page. The widget shown in this image looks like it's meant to display that data.
Describe alternatives you've considered
Revision feature might be used to keep track of changes by creating a new revision for each change. This is not suitable to us because it's much less transparent and change history is not logged.
Examples of other systems
No response
Do you want to develop this?
I want to develop this.
This feature is quite important for our use case if we go for Inventree, therefore happy to jump in - some guidance would be needed.
+1 for this, I can think of a couple of really nice use cases here.
Additionally it would be great to be able to leave comments on an item, especially useful for items which have non OK status' like repairs etc to be able to explain the status change. EG: Status changed from OK to DAMAGED "damaged mainboard. needs replacement"
Activity
SchrodingersGat commentedon Jan 8, 2025
A general "history tracking" system would be a good idea (and has been discussed at length previously) - but difficult to implement!
One potential approach would be to use django-simple-history which seems like it would be a good fit here.
The "admin history" only logs changes made via the admin site and is not as useful here.
timmyhadwen commentedon Feb 12, 2025
+1 for this, I can think of a couple of really nice use cases here.
Additionally it would be great to be able to leave comments on an item, especially useful for items which have non OK status' like repairs etc to be able to explain the status change. EG: Status changed from OK to DAMAGED "damaged mainboard. needs replacement"