mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-04-27 21:26:43 +00:00
Add docs for creating a new part via form
This commit is contained in:
parent
40e9f7429d
commit
a9b3d7130d
BIN
docs/assets/images/part/create_initial_stock_option.png
Normal file
BIN
docs/assets/images/part/create_initial_stock_option.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
BIN
docs/assets/images/part/new_part.png
Normal file
BIN
docs/assets/images/part/new_part.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
BIN
docs/assets/images/part/part_create_form.png
Normal file
BIN
docs/assets/images/part/part_create_form.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
BIN
docs/assets/images/part/part_create_supplier.png
Normal file
BIN
docs/assets/images/part/part_create_supplier.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
BIN
docs/assets/images/part/part_initial_stock.png
Normal file
BIN
docs/assets/images/part/part_initial_stock.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
BIN
docs/assets/images/part/part_new_suppliers.png
Normal file
BIN
docs/assets/images/part/part_new_suppliers.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
69
docs/part/create.md
Normal file
69
docs/part/create.md
Normal file
@ -0,0 +1,69 @@
|
||||
---
|
||||
title: Creating a Part
|
||||
---
|
||||
|
||||
## Part Creation Form
|
||||
|
||||
New parts can be created from the *Part Category* view, by pressing the *New Part* button:
|
||||
|
||||
!!! info "Permissions"
|
||||
If the user does not have "create" permission for the *Part* permission group, the *New Part* button will not be available.
|
||||
|
||||
{% with id="new", url="part/new_part.png", descript="New Part" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
|
||||
A part creation form is opened as shown below:
|
||||
|
||||
|
||||
{% with id="newform", url="part/part_create_form.png", descript="New Part Form" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
|
||||
Fill out the required part parameters and then press *Submit* to create the new part. If there are any form errors, you must fix these before the form can be successfully submitted.
|
||||
|
||||
Once the form is completed, the browser window is redirected to the new part detail page.
|
||||
|
||||
### Initial Stock
|
||||
|
||||
If the *Create Initial Stock* setting is enabled, then an extra section is available in the part creation form to create an initial quantity of stock for the newly created part:
|
||||
|
||||
{% with id="setting", url="part/create_initial_stock_option.png", descript="Create stock option" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
If this setting is enabled, the following elements are available in the form:
|
||||
|
||||
{% with id="initial_stock", url="part/part_initial_stock.png", descript="Inital stock" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
Checking the *Create Initial Stock* form input then allows the creation of an initial quantity of stock for the new part.
|
||||
|
||||
|
||||
### Supplier Options
|
||||
|
||||
If the part is marked as *Purchaseable*, the form provides some extra options to initialize the new part with manufacturer and / or supplier information:
|
||||
|
||||
|
||||
{% with id="supplierinfo", url="part/part_create_supplier.png", descript="Add supplier information" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
|
||||
If the *Add Supplier Data* option is checked, then supplier part and manufacturer part information can be added to the newly created part:
|
||||
|
||||
|
||||
{% with id="suppliers", url="part/part_new_suppliers.png", descript="Part supplier information" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
## Other Part Creation Methods
|
||||
|
||||
The following alternative methods for creating parts are supported:
|
||||
|
||||
- [Via the REST API](../../extend/api)
|
||||
- [Using the Python library](../../extend/python)
|
||||
- [Within the Admin interface](../../admin/admin)
|
15
docs/releases/0.4.6.md
Normal file
15
docs/releases/0.4.6.md
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
title: Release 0.4.6
|
||||
---
|
||||
|
||||
## Release 0.4.6
|
||||
|
||||
### Form Groups
|
||||
|
||||
[#1956](https://github.com/inventree/InvenTree/pull/1956) adds collapsible groups to modal forms, which allows rendering of complex forms with dynamic control of grouped items. As part of this pull request, manufacturer and supplier details can now be added when creating a new part.
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
| Pull Request | Description |
|
||||
| --- | --- |
|
||||
| [#1952](https://github.com/inventree/InvenTree/pull/1952) | Fixes bug in dockerfile which pointed to incorrect github branch on tagged release |
|
@ -59,6 +59,7 @@ nav:
|
||||
- Demo Dataset: start/demo.md
|
||||
- Parts:
|
||||
- Parts: part/part.md
|
||||
- Creating Parts: part/create.md
|
||||
- Part Views: part/views.md
|
||||
- Tracking: part/trackable.md
|
||||
- Parameters: part/parameter.md
|
||||
|
Loading…
x
Reference in New Issue
Block a user