mirror of
https://github.com/inventree/InvenTree.git
synced 2025-10-15 21:52:21 +00:00
Fix common spelling mistakes (#4956)
* add codespell * first fixes * doc fixes * fix docstrings and comments * functional changes * docstrings again * and docs again * rename args * add ignore * use pre-commit for filtering instead * ups * fix typo in filter
This commit is contained in:
@@ -36,7 +36,7 @@ If the *Create Initial Stock* setting is enabled, then an extra section is avail
|
||||
|
||||
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" %}
|
||||
{% with id="initial_stock", url="part/part_initial_stock.png", descript="Initial stock" %}
|
||||
{% include "img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
|
@@ -71,7 +71,7 @@ If a user is subscribed to a particular part, it will be indicated as shown belo
|
||||
{% include 'img.html' %}
|
||||
{% endwith %}
|
||||
|
||||
If the user is not subscibed, the subscription icon is greyed out, as shown here:
|
||||
If the user is not subscribed, the subscription icon is greyed out, as shown here:
|
||||
|
||||
{% with id="part_sub_off", url="part/part_subscribe_off.png", description="Subscribe" %}
|
||||
{% include 'img.html' %}
|
||||
|
@@ -4,7 +4,7 @@ title: Parts
|
||||
|
||||
## Part
|
||||
|
||||
The *Part* is the core element of the InvenTree ecosystem. A Part object is the archetype of any stock item in your inventory. Parts are arranged in heirarchical categories which are used to organise and filter parts by function.
|
||||
The *Part* is the core element of the InvenTree ecosystem. A Part object is the archetype of any stock item in your inventory. Parts are arranged in hierarchical categories which are used to organise and filter parts by function.
|
||||
|
||||
## Part Category
|
||||
|
||||
@@ -132,7 +132,7 @@ In the web interface, part images can be uploaded directly from the [part view](
|
||||
|
||||
#### API
|
||||
|
||||
Image upload is supported via the [InvenTree API](../api/api.md), allowing images to be associated with parts programatically. Further, this means that the [Python interface](../api/python/python.md) also supports image upload.
|
||||
Image upload is supported via the [InvenTree API](../api/api.md), allowing images to be associated with parts programmatically. Further, this means that the [Python interface](../api/python/python.md) also supports image upload.
|
||||
|
||||
#### Mobile App
|
||||
|
||||
|
@@ -160,7 +160,7 @@ Pricing data is cached in the [default currency](#default-currency), which ensur
|
||||
|
||||
#### Data Updates
|
||||
|
||||
The pricing data caching is intented to occur *automatically*, and generally be up-to-date without user interaction. Pricing data is re-calculated and cached by the [background worker](../settings/tasks.md) in the following ways:
|
||||
The pricing data caching is intended to occur *automatically*, and generally be up-to-date without user interaction. Pricing data is re-calculated and cached by the [background worker](../settings/tasks.md) in the following ways:
|
||||
|
||||
- **Automatically** - If the underlying pricing data changes, part pricing is scheduled to be updated
|
||||
- **Periodically** - A daily task ensures that any outdated or missing pricing is kept updated
|
||||
|
@@ -21,7 +21,7 @@ For faster input there are several ways to define the wanted serial numbers(SN):
|
||||
| --- | --- | --- | --- |
|
||||
| | `1` | `[1]` | single SN |
|
||||
| , | `1,3,5` | `[1, 3, 5]` | list of SNs |
|
||||
| - | `1-5` | `[1, 2, 3, 4, 5]` | strech of SN |
|
||||
| - | `1-5` | `[1, 2, 3, 4, 5]` | stretch of SN |
|
||||
| ~ | `~` (next SN is 8) | `[8]` | represents the next SN |
|
||||
| `<start>`+ | `4+` (with 3 numbers needed) | `[4, 5, 6]` | all needed SNs from `<start>` |
|
||||
| `<start>`+`<length>` | `2+2` | `[2, 3, 4]` | `<length>` SNs added to `<start>` |
|
||||
|
@@ -154,7 +154,7 @@ This feature can be enabled or disabled in the global part settings:
|
||||
|
||||
### Attachments
|
||||
|
||||
The *Part Attachments* tab displays file attachments associated with the selected *Part*. Multiple file attachements (such as datasheets) can be uploaded for each *Part*.
|
||||
The *Part Attachments* tab displays file attachments associated with the selected *Part*. Multiple file attachments (such as datasheets) can be uploaded for each *Part*.
|
||||
|
||||
### Notes
|
||||
|
||||
|
Reference in New Issue
Block a user