2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +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:
Matthias Mair
2023-06-03 16:04:52 +02:00
committed by GitHub
parent 5e2bfaa43a
commit 21ed4b2081
161 changed files with 344 additions and 334 deletions

View File

@ -6,7 +6,7 @@ title: Stock Adjustments
InvenTree provides simple yet powerful management of stock levels. Multiple stock adjustment options are available, and each type of adjustment is automatically tracked to maintain a complete stock history.
Stock adjustements can be accessed in any stock items table using the "Stock Options" dropdown entries:
Stock adjustments can be accessed in any stock items table using the "Stock Options" dropdown entries:
{% with id="stock_options", url="stock/stock_options.png", description="Stock Options" %}
{% include 'img.html' %}
@ -52,8 +52,8 @@ The conditions for merging stock items are the following:
- a stock item cannot be merged with itself
- only stock items referring to the same part can be merged
- supplier parts between all items have to match, unless user explicitely allows supplier parts to be different (see below)
- stock status between all items have to match, unless user explicitely allows stock status to be different (see below).
- supplier parts between all items have to match, unless user explicitly allows supplier parts to be different (see below)
- stock status between all items have to match, unless user explicitly allows stock status to be different (see below).
Moreover, if one of the item:
@ -61,7 +61,7 @@ Moreover, if one of the item:
- or is installed in another item
- or contains other items
- or is assigned to a customer
- or is currenty in production
- or is currently in production
- or is serialized
then the merge would not be possible.

View File

@ -108,7 +108,7 @@ Any of the above patterns can be combined using multiple groups separated by the
In the default implementation, InvenTree assumes that serial "numbers" are integer values in a simple incrementing sequence e.g. `{1, 2, 3, 4, 5, 6}`. When generating the *next* value for a serial number, the algorithm looks for the *most recent* serial number, and attempts to coerce that value into an integer, and then increment that value.
While this approach is reasonably robust, it is definitely simplistic and is not expected to meet the requirements of every installation. For this reason, more complex serial number management is intented to be implemented using a custom plugin (see below).
While this approach is reasonably robust, it is definitely simplistic and is not expected to meet the requirements of every installation. For this reason, more complex serial number management is intended to be implemented using a custom plugin (see below).
#### Serial Number Errors