Remove legacy plugin setting (#13404)

* 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>
This commit is contained in:
OliverandMatthias Mair authored and GitHub committed 2026-11-30 17:44:41 +11:00
1 parent f2b98ff286
commit c9c84044af
8 files changed
+5 -18

No files matched your search

+3
View File
@@ -4,6 +4,9 @@ title: Navigation Mixin
## NavigationMixin
!!! warning "Legacy Mixin"
The navigation links provided by this mixin are not displayed in the current user interface, and the `ENABLE_PLUGINS_NAVIGATION` setting has been removed. To add custom navigation items to the user interface, use the [UserInterfaceMixin](./ui.md) and implement the `get_ui_navigation_items` method.
Use the class constant `NAVIGATION` for a array of links that should be added to InvenTrees navigation header.
The array must contain at least one dict that at least define a name and a link for each element. The link must be formatted for a URL pattern name lookup - links to external sites are not possible directly. The optional icon must be a class reference to an icon.
-1
View File
@@ -254,7 +254,6 @@ Refer to the [transfer order settings](../stock/transfer_order.md#transfer-order
| ---- | ----------- | ------- | ----- |
{{ globalsetting("PLUGIN_ON_STARTUP") }}
{{ globalsetting("ENABLE_PLUGINS_URL") }}
{{ globalsetting("ENABLE_PLUGINS_NAVIGATION") }}
{{ globalsetting("ENABLE_PLUGINS_APP") }}
{{ globalsetting("ENABLE_PLUGINS_SCHEDULE") }}
{{ globalsetting("ENABLE_PLUGINS_EVENTS") }}