* Remove legacy plugin setting
- ENABLE_PLUGINS_NAVIGATION removed
- Not supported by modern interface
- Now controlled by ENABLE_PLUGINS_INTERFACE
- Use UserInterfaceMixin instead
* Apply suggestion from @matmair
* fix broken playwright test
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
* Remove unused settings
Remove settings which have had no effect since the legacy user interface
was removed (or which were never implemented):
- STOCK_SHOW_INSTALLED_ITEMS
- PART_SHOW_RELATED
- BARCODE_INPUT_DELAY
- PLUGIN_UPDATE_CHECK
- REPORT_INLINE (user)
- LABEL_INLINE (user)
Remove them from the settings pages and documentation, and use other
boolean user settings in the tests which used LABEL_INLINE as an example.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Respect part creation and duplication settings
The PART_COPY_TESTS, PART_CATEGORY_PARAMETERS and PART_CREATE_SUPPLIER
settings had no effect since the legacy user interface was removed. The
part forms now use them for the defaults of the "copy tests" and "copy
category parameters" options, and to show the initial supplier fields.
Adds Playwright tests for the create and duplicate part forms.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Enforce expired stock and IPN edit settings
The STOCK_ALLOW_EXPIRED_BUILD, STOCK_ALLOW_EXPIRED_SALE and
PART_ALLOW_EDIT_IPN settings had no effect since the legacy user
interface was removed.
- When stock expiry is enabled, expired stock can only be allocated to
build orders / sales orders if the corresponding setting permits it.
This applies to manual (API) allocation, allocation by serial number,
auto-allocation, and new allocations created via the model. Existing
allocations of since-expired stock remain editable.
- When PART_ALLOW_EDIT_IPN is disabled, the IPN of an existing part cannot
be changed via the API, and the IPN field is disabled in the edit form.
Adds unit tests for each allocation path and the IPN rule, a Playwright
test for the IPN field, and documents the expired stock settings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Additional docs
* Update CHANGELOG
* Fix playwright test
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Support parameters on stock location types
* Add stock location type details page
* Bump API version and document location type parameters
* Fix location type write queries and deletion rollback
* Preserve location type names and gate parameter actions
* Use standard navigation and actions for location types
* Add location type preview and detail page shortcuts
* Alert staff when active plugins rely on a disabled plugin integration
- Report (plugin, mixin, setting) combinations in the 'system_state' of the info endpoint
- Add INVE-W22 alert to the alerts menu and admin center
- Document the new warning code
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* Respect global setting overrides when checking plugin integrations
A setting which is overridden via environment or config file takes priority over the stored value
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* Fix plugin integration message for plugins with translated names
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* Report a failed plugin integration check, and cover its edge cases
If the check raises an exception, report "Unable to check plugin
integrations" instead of "No issues detected".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Name the plugin settings which need to be enabled
List each affected plugin together with the settings which need to be
enabled, e.g. "Auto Create Builds (Enable event integration)".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* add zensical workflow
* rebuild schema dynamically
* load in new module
* Use zensical for docs invoke tasks
* modern
* improved carousel layout
* Increased content width
* fix for app icons
* Ensure schema dir exists
* remove unused requirement
* update readthedocs process
* fix polar.sh link
* adjust link checker pattern
* Revert some of the original style
* remove legacy mkdocs requirements
* fix for ready.py
* reduce db warnings during schema generation
* Adjust padding
* fix index issues
* fix page title
* fix pages with broken or missing headers
* split data import API schema
* cleanup old carousel
* remove djlint link
* fix basic auth without mfa
* refactor order to use new basic auth class
* remove session auth taht would bybpass mfa (mfa thing fixed in another session)
* allign with other PRs
prep for merge with https://github.com/inventree/InvenTree/pull/13169/
* fix schema generation
* [UI] Launch forms directly from plugin
Provide ability for plugins to dynamically launch modal forms, without specifying the underlying react components.
This allows (for example) a primary action on a detail page to launch a new native API form
* Add CHANGELOG entry
* [report] Harden data access for reports
- Exclude sensitive data
- Prevent database writes during report generation
* Fix typo
* Add regression test against model traversal
* Add webhook endpoint and message to imports
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Remove some models from BLOCKED_MODELS
* Revert READ_ONLY requirement
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Add "event_type" and "notes" support to AuditLog model
* Register history entries for stock items
* record stock edited events as normal updates
* Remove legacy tracking entry generation code
* Updated unit tests for all stock event types
* remove legacy endpoints
* remove legacy tables from UI
* Updated docs
* Data migration
* Remove old models
* Update docs
* Updated playwright tests
* Fix broken links
* Update CHANGELOG.md
* Cache CID value
* Fix migration tests
* Increase query threshold for unit test
* Fix bug and add regression test
* mark migration as one-way
* flush events in the correct order
* improve prefetch
* Adjust row rendering
* 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
* Add internal company flag
* Unit tests
* Add changelog entry and update API version
* add global company table
* Expose model_filters for internal settings
* Update API version
* Update CHANGELOG
* update assert
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
* Add 'contact' field to SalesOrderShipment model
* add unit test
* Update shipment table
* improve UI form
* Add 'phone' and 'email' fields to Address model
* Bump API version
* Update CHANGELOG
* Updated docs
* [UI] Replace BOM subassembly table
- Do not render as a separate table
- Dynamically load and insert subassembly data
- Retains single table layout
- Observe same column setup
* Adjust alignment of icons
* Hide certain icons for nested rows
* Display subassembly quantity chain
* Display full multiplication chain
* Add nested pricing multipliers
* Display the multiplied "can-build" quantity
* Updated BOM docs
* Playwright tests
* Handle case where can_build is zero
* Refresh nested BOM when underlying records change
* Remove trunc for display
* fix playwright test
* disable restriction (for now)
* add option for a permanent navigation tree
* revert unintended change
* adjust search text to be less confusing when pinned