[Feature] Changelog / Edit History (#13069)

* Initial app scaffolding

* Skeleton for AuditLogTable

* Add UI table

* Add audit history panel to admin center

* Add auditing for models in the 'company' app

* Gate API access of user staff status

* Display item history in UI

* Track 'attachment' history

* Track 'parameter' changes

* Audit support for "common" models

* Track changed for "build" models

* Track history for "order" models:

- PurchaseOrder
- SalesOrder
- SalesOrderShipment
- ReturnOrder

Also track changes against LineItem and ExtraLineItem objects

* Register custom admin class

* Support Part history

* BomItem changes

* Fix for BulkCreateMixin

* Tweak unit tests

* Use Viewset

* Adjust error code behavior

* Setting to keep summary entries

* Refactor helper for middlewares

* Tweak unit tests

* Fixes for ModelInformationDict

* Track pricing changes

* Add model type filter for auditlog table

* Specify filter field type

* Hide HistoryPanel if auding is disabled

* add docs

* Add "--summary" option to export_records task

* Playwright tests

* Track task responsible for data changes

* Updated unit tests

* record changes to global settings

* Update docs

* Ensure values are stringified

* Fix for globalsetting

* Patch unit test

* Tweak playwright tests

* playwright test fix

* use main branch for demo data

* Update CHANGELOG
This commit is contained in:
Oliver authored and GitHub committed 2026-10-25 12:36:13 +11:00
1 parent cdb3b1ecf7
commit c475e9bfcf
91 files changed
+7753 -102

No files matched your search

@@ -16,6 +16,7 @@ import {
showCalendarView,
showParametricView,
showTableView,
tableSearch,
waitForDataOutput
} from '../helpers.ts';
import { doCachedLogin } from '../login.ts';
@@ -53,9 +54,7 @@ test('Purchasing - Index', async ({ browser }) => {
// Check for expected values
await clearTableFilters(page);
await page
.getByRole('textbox', { name: 'table-search-input' })
.fill('R_100K_0402');
await tableSearch(page, 'R_100K_0402');
await page.getByText('R_100K_0402_1%').first().waitFor();
await page.getByRole('cell', { name: 'RR05P100KDTR-ND' }).first().waitFor();
@@ -155,9 +154,7 @@ test('Purchasing - Manufacturer Parts', async ({ browser }) => {
url: 'purchasing/index/manufacturer-parts'
});
await page
.getByRole('textbox', { name: 'table-search-input' })
.fill('CPF0402B100KE1');
await tableSearch(page, 'CPF0402B100KE1');
await page.getByText('R_100K_0402_1%').first().waitFor();
await page.getByRole('cell', { name: 'CPF0402B100KE1' }).waitFor();
@@ -609,9 +606,7 @@ test('Purchase Orders - Receive Items', async ({ browser }) => {
await loadTab(page, 'Received Stock');
await clearTableFilters(page);
await page
.getByRole('textbox', { name: 'table-search-input' })
.fill('my-batch-code');
await tableSearch(page, 'my-batch-code');
await page.getByRole('cell', { name: 'my-batch-code' }).first().waitFor();
});
@@ -669,9 +664,7 @@ test('Purchase Orders - Custom Location', async ({ browser }) => {
await loadTab(page, 'Received Stock');
await clearTableFilters(page);
await page
.getByRole('textbox', { name: 'table-search-input' })
.fill('po-custom-location-test');
await tableSearch(page, 'po-custom-location-test');
const receivedRow = page
.getByRole('row')