mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-27 14:16:02 +00:00
feat: Add facility to completely hide parts of the interface (#12842)
* fix typing issue for pylance engine * add flags to mark rough function of setting * update pr version * fix settings serialisation * render security warnings * move Transfer Orders * respect return order hiding * almost all confirm texts will have a warning * add settings for sales, purchase and buildorder deactivation * make permission check also ensure gloablsetting for view is available; reduce number of chained gates * document possible missing check * ensure we can still show the sales tab * add additional warning to group cleanup * hide more ui parts conditionally * add tests for new code and remove duplication * fix test * alternative approach to fix SSO path * remove patch; now done in serializer * ignore ldap section
This commit is contained in:
@@ -285,6 +285,7 @@ The following [global settings](../settings/global.md) are available for adjusti
|
||||
|
||||
| Name | Description | Default | Units |
|
||||
| ---- | ----------- | ------- | ----- |
|
||||
{{ globalsetting("BUILDORDER_ENABLED") }}
|
||||
{{ globalsetting("BUILDORDER_REFERENCE_PATTERN") }}
|
||||
{{ globalsetting("BUILDORDER_REQUIRE_RESPONSIBLE") }}
|
||||
{{ globalsetting("BUILDORDER_REQUIRE_ACTIVE_PART") }}
|
||||
|
||||
@@ -206,6 +206,7 @@ The following [global settings](../settings/global.md) are available for purchas
|
||||
|
||||
| Name | Description | Default | Units |
|
||||
| ---- | ----------- | ------- | ----- |
|
||||
{{ globalsetting("PURCHASEORDER_ENABLED") }}
|
||||
{{ globalsetting("PURCHASEORDER_REFERENCE_PATTERN") }}
|
||||
{{ globalsetting("PURCHASEORDER_REQUIRE_RESPONSIBLE") }}
|
||||
{{ globalsetting("PURCHASEORDER_CONVERT_CURRENCY") }}
|
||||
|
||||
@@ -287,6 +287,7 @@ The following [global settings](../settings/global.md) are available for sales o
|
||||
|
||||
| Name | Description | Default | Units |
|
||||
| ---- | ----------- | ------- | ----- |
|
||||
{{ globalsetting("SALESORDER_ENABLED") }}
|
||||
{{ globalsetting("SALESORDER_REFERENCE_PATTERN") }}
|
||||
{{ globalsetting("SALESORDER_REQUIRE_RESPONSIBLE") }}
|
||||
{{ globalsetting("SALESORDER_DEFAULT_SHIPMENT") }}
|
||||
|
||||
Reference in New Issue
Block a user