* Add stale stock email notifications Implement automated email notifications for stock items approaching their expiry dates. Users receive consolidated daily emails for all their subscribed parts that are within the configured stale threshold. Fixes #7866 * Fix for tracing init (#9860) - Circular include means that settings.DB_ENGINE may not be available * [bug] Custom state fix (#9858) * Set status correctly when returning from customer * Fix for stock item status change - Reduced set of changes from #9781 * Handle API updates * Fix variable shadowing * More intelligent comparison * Remove debug statement * fix syntax again (#9863) * fix(backend): change notification for INVE-W10 (#9864) implements changes requested in https://github.com/inventree/InvenTree/pull/9769#issuecomment-3004193476 * Tweak for tracing setup (#9865) - DB_ENGINE is of the form "django.db.backends.postgresql", not "postgesql" * Update README.md (#9867) Update sponsors list * Remove sleep call (#9866) * New Crowdin translations by GitHub Action (#9813) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Table default cols (#9868) * Work in progress - Seems to reset the columns on page refresh - Probably related to the useLocalStorage hook * Do not overwrite until the tablestate is loaded * Prevent table fetch until data has been loaded from localStorage * Improved persistance * Adjust default column visibility * Adjust playwright test * Clear data tweak (#9870) * Tweaks for config path checks * Update delete-data task * Tweaks for config path checks (#9869) * fix instrumentation code (#9872) * [UI] About tweak (#9874) * Cleanup server info modal * Sort package info * De-sync useLocalStorage (#9873) * [UI] Fix thumbnail rendering (#9875) - Fix typo which caused full image to be rendered - This could cause significant network loading time * Add stale stock email notifications Implement automated email notifications for stock items approaching their expiry dates. Users receive consolidated daily emails for all their subscribed parts that are within the configured stale threshold. Revert django.po Fixes #7866 * fixed pull request issues #9875) * unit test notifications for stale stock items --------- Co-authored-by: Oliver <oliver.henry.walters@gmail.com> Co-authored-by: Matthias Mair <code@mjmair.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
InvenTree Documentation
This repository hosts the official documentation for InvenTree, an open source inventory management system.
To serve this documentation locally (e.g. for development), you will need to have Python 3 installed on your system.
Setup
Run the following commands from the top-level project directory:
$ git clone https://github.com/inventree/inventree
$ pip install --require-hashes -r docs/requirements.txt
Serve Locally
To serve the pages locally, run the following command (from the top-level project directory):
$ mkdocs serve -f docs/mkdocs.yml -a localhost:8080
Edit Documentation Files
Once the server is running, it will monitor the documentation files for any changes, and update the served pages.
Admonitions
"Admonition" blocks can be added as follow:
!!! info "This is the admonition block title"
This is the admonition block content
Refer to the reference documentation to customize the admonition block to the use-case (eg. warning, missing, info, etc.).
Internal Links
Links to internal documentation pages must use relative pathing, otherwise the link will be broken by the readthedocs URL formatting.
Also, linking to an internal page must use the .md
suffix!
For example, to link to the page /part/views
from /stock/stocktake
, the link must be formed as follows:
Click [here](../part/views.md)
Formatting the link as follows:
Click [here](/part/views)
will result in a broken link.
Images
Images are served from the ./docs/assets/images
folder and can be added as follows:
{{ image("image_name.png", base="subfolder", title="Image title") }}
See the image
macro in ./docs/main.py
for more information.
Icons
Icons can be rendered (using the tabler icon set) as follows:
{{ icon("brand-github", color="red")}}
See the icon
macro in ./docs/main.py
for more information.
Global variables
Refer to the reference documentation to find out how to add global variables to the documentation site.
Global variables should be added in the # Global Variables
section of the mkdocs.yml
configuration file.
Credits
This documentation makes use of the mkdocs-material template