Skip to content

[FR] Log and display change history of parts #8856

Description

@ursincantieni

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.
Image
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.
Image

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.

Activity

  1. added
    enhancement
    triage:not-checked
    on Jan 7, 2025
  2. removed
    triage:not-checked
    on Jan 8, 2025
  3. added this to the horizon milestone on Jan 8, 2025
  4. SchrodingersGat commented on Jan 8, 2025

    @SchrodingersGat
    Member

    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.

  5. timmyhadwen commented on Feb 12, 2025

    @timmyhadwen
    Contributor

    +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"

  6. modified the milestones: horizon, 1.7.0 on Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementfeature

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions