2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 11:35:41 +00:00

[plugin] Auto issue orders (#9565)

* Add builtin plugin for auto-issuing orders

* Add plugin to auto-issue orders

* Add placeholder documentation

* Fix typo

* Adds image macro

- To replace img.html
- includes checking if file exists

* Fix tooltips

* More docs

* Adjust plugin settings filters

* docs

* More docs

* More docs

* Updates

* Less restrictive URL checking

* Refactor build order page

* Fix typo

* Allow 429

* Debug output

* More debug

* Construct assets dir

* Cleanup

* Update docs README

* Refactoring more pages

* Fix image link

* Fix SSO settings

* Add hook to check for missing settings

- Ensure that all settings are documented!

* Add missing user settings

* Update docstring

* Tweak SSO.md

* Image updates

* More updates

* Tweaks

* Exclude orders without a target_date

* Fix for issuing build orders

* Further refactoring

* Fixes

* Image refactoring

* More refactoring

* More refactoring

* Refactor app images

* Fix pathing issues

* Suppress some openapidocs warnings in logs

(much easier to debug docs build issues)

* Fix image reference

* Reduce error messages

* Fix image links

* Fix image links

* Reduce docs log output

* Ensure settings are loaded before displaying them

* Fix for UI test

* Fix unit test

* Test tweaks
This commit is contained in:
Oliver
2025-06-03 17:07:12 +10:00
committed by GitHub
parent 89f8f132e1
commit 11ab0203b1
124 changed files with 1178 additions and 957 deletions

View File

@ -10,9 +10,7 @@ From the *home screen*, select *Parts* to open the top-level part category view.
The *Details* tab shows information about the selected part category. In particular, it shows the name and description of the category, a link to the parent category (if available) and a list of subcategories.
{% with id="part-category", url="part_category_detail.png" %}
{% include "app_img.html" %}
{% endwith %}
{{ image("app/part_category_detail.png", "Part Category") }}
#### Parent Category
@ -26,47 +24,35 @@ If the current category has any subcategories, these are listed here. Select any
The *Parts* tab displays all the parts available in this category. Tap a displayed part to navigate to the part detail view.
{% with id="cat-parts", url="category_parts_tab.png" %}
{% include "app_img.html" %}
{% endwith %}
{{ image("app/category_parts_tab.png", "Category Parts") }}
The list of available parts can be filtered using the input box at the top of the screen:
{% with id="cat-parts-filter", url="category_parts_filter.png" %}
{% include "app_img.html" %}
{% endwith %}
{{ image("app/category_parts_filter.png", "Category Parts Filter") }}
### Context Actions
The following *Context Actions* are available for the selected category:
{% with id="cat-actions", url="category_actions_tab.png" %}
{% include "app_img.html" %}
{% endwith %}
{{ image("app/category_actions_tab.png", "Category Actions") }}
#### New Category
Create a new subcategory under the current category:
{% with id="cat-new-cat", url="new_category.jpg" %}
{% include "app_img.html" %}
{% endwith %}
{{ image("app/new_category.jpg", "New Category") }}
#### New Part
Create a new part within the current category:
{% with id="cat-new-part", url="new_part.jpg" %}
{% include "app_img.html" %}
{% endwith %}
{{ image("app/new_part.jpg", "New Part") }}
### Edit Category
Select the *Edit* button in the top right corner of the screen to edit the details for the selected part category:
{% with id="cat-edit", url="part_category_edit.jpg" %}
{% include "app_img.html" %}
{% endwith %}
{{ image("app/part_category_edit.jpg", "Edit Category") }}
!!! info "Permission Required"
If the user does not have permission to edit part details, this button will be hidden
@ -77,9 +63,7 @@ In the part category display screen, there are three tabs of information availab
The *Part Detail* view displays information about a single part:
{% with id="part-details", url="part_details.png" %}
{% include "app_img.html" %}
{% endwith %}
{{ image("app/part_details.png", "Part Detail") }}
### Details Tab
@ -97,17 +81,13 @@ The *stock* tile shows the total quantity of stock available for the part. Tap o
Tap on the *notes* tile to view (and edit) the notes for this part:
{% with id="part-notes", url="part_notes.jpg" %}
{% include "app_img.html" %}
{% endwith %}
{{ image("app/part_notes.jpg", "Part Notes") }}
#### Attachments
Tap on the *attachments* tile to view the file attachments for this part:
{% with id="part-attachments", url="part_attachments.jpg" %}
{% include "app_img.html" %}
{% endwith %}
{{ image("app/part_attachments.jpg", "Part Attachments") }}
New attachments can be uploaded by tapping on the icons in the top right of the screen.
@ -117,9 +97,7 @@ Select a particular attachment file to downloaded it to the local device.
The *Stock* tab displays all the stock items available for this part. Tap on a particular stock item to navigate to a detail view for that item.
{% with id="part-stock", url="part_stock.png" %}
{% include "app_img.html" %}
{% endwith %}
{{ image("app/part_stock.png", "Part Stock") }}
The list of available stock items can be filtered using the input box at the top of the screen.
@ -131,17 +109,13 @@ The *Actions* tab displays the available actions for the selected part:
Create a new stock item for this part:
{% with id="part-stock-new", url="new_stock_item.jpg" %}
{% include "app_img.html" %}
{% endwith %}
{{ image("app/new_stock_item.jpg", "New Stock Item") }}
### Edit Part
To edit the part details, select the *Edit* button in the top right corner of the screen:
{% with id="part-edit", url="part_edit.jpg" %}
{% include "app_img.html" %}
{% endwith %}
{{ image("app/part_edit.jpg", "Edit Part") }}
!!! info "Permission Required"
If the user does not have permission to edit part details, this button will be hidden
@ -150,8 +124,6 @@ To edit the part details, select the *Edit* button in the top right corner of th
Tap the image of the part (displayed at the top left of the screen) to launch the part image view:
{% with id="part-image", url="part_image.jpg" %}
{% include "app_img.html" %}
{% endwith %}
{{ image("app/part_image.jpg", "Part Image") }}
A full-screen view of the image is displayed. The user can also upload a new image for the part, either selecting an image from the device, or taking a new picture with the device's camera.