Skip to content

[Feature] Changelog / Edit History - #13069

Merged
SchrodingersGat merged 51 commits into
inventree:masterfrom
SchrodingersGat:audit-log
Oct 25, 2026
Merged

SchrodingersGat merged 51 commits into
inventree:masterfrom
SchrodingersGat:audit-log

Conversation

@SchrodingersGat

@SchrodingersGat SchrodingersGat commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Closes #8856

This PR implements a "changelog" table using the django-auditlog library.

Tasks

  • Complete implementation
  • Playwright tests
  • Full coverage / regression tests
  • Updated documentation
  • Add changelog entries to demo dataset - dummy audit data demo-dataset#133

Not Planned (Yet - Potentially Future Goals)

@SchrodingersGat SchrodingersGat added this to the 1.7.0 milestone Oct 22, 2026
@SchrodingersGat SchrodingersGat added api Relates to the API feature User Interface Related to the frontend / User Interface labels Oct 22, 2026
@netlify

netlify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit 1300df6
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6add41d47750d2cb04466410

@SchrodingersGat
SchrodingersGat marked this pull request as draft October 22, 2026 01:29
@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 74.38596% with 657 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.92%. Comparing base (cdb3b1e) to head (1300df6).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #13069      +/-   ##
==========================================
- Coverage   87.20%   86.92%   -0.28%     
==========================================
  Files        1534     1554      +20     
  Lines      106558   109083    +2525     
  Branches    11964    11964              
==========================================
+ Hits        92927    94824    +1897     
- Misses      13565    14193     +628     
  Partials       66       66              
Flag Coverage Δ
backend 91.51% <74.38%> (-0.69%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 92.64% <99.73%> (+0.17%) ⬆️
Backend General 94.78% <99.48%> (+0.27%) ⬆️
Frontend 79.44% <ø> (+<0.01%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- PurchaseOrder
- SalesOrder
- SalesOrderShipment
- ReturnOrder

Also track changes against LineItem and ExtraLineItem objects
Comment thread src/backend/InvenTree/audit/api.py Resolved
Comment thread src/backend/InvenTree/audit/checks.py Resolved
Comment thread src/backend/InvenTree/audit/context.py Resolved
Comment thread src/backend/InvenTree/audit/tasks.py Resolved
@matmair

matmair commented Oct 22, 2026

Copy link
Copy Markdown
Member

maybe I can use this to implement #9996

@SchrodingersGat
SchrodingersGat marked this pull request as ready for review October 23, 2026 13:28
@SchrodingersGat
SchrodingersGat merged commit c475e9b into inventree:master Oct 25, 2026
60 of 61 checks passed
@SchrodingersGat
SchrodingersGat deleted the audit-log branch October 25, 2026 01:36
SchrodingersGat pushed a commit that referenced this pull request Nov 15, 2026
* feat:generic model insights

inspired by #13069 this adds a more general approach to generic features like attachments, notes

some tests and functions written with assistance of AI

* lazy load panels

* add pr version

* fix snapshot issue

* move history panel to new generic mechanism

* Update api_version.py

* move to generic

* remove duplicate

* clean up import

* fix test

* add ignore for broken contract in test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Relates to the API feature User Interface Related to the frontend / User Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FR] Log and display change history of parts

2 participants