Go to file
Matthias Mair d5086b2fb1
User defined states (#7862)
* Add custom user defined states

* make tests more reliable

* fix list options

* Adapt version

* do not engage if rebuilding

* remove unneeded attr

* remove unneeded attr

* fix enum imports

* adapt cove target

* Add status_custom_key to all other serializers

* fix serializer method

* simplify branching

* remove unneeded imports

* inherit read_only status from leader field

* Add more tests

* fix tests

* add test for function

* refactor for easier testing

* move test to seperate class

* Add options testing

* extend serializer

* add test for all states and refactor to reuse already build functions

* use custom field in PUI too

* reset diff

* style fix

* fix comparison

* Add test for str

* test color exceptions too

* remove user state from tracking

* Add intro from model fields too

* update docs

* simplify implementation

* update tests

* fix name

* rename test

* simplify tags and test fully

* extend test to machine status

* move logic for response formatting over

* extend api response with machine  status

* ensure only direct subclasses are discovered

* test for length of total respone too

* use new fields on PUI too

* fix test assertion with plugins enabled

* also observe rendering in filters

* Add managment endpoints and APIs

* Add contenttypes to PUI renderes

* use filteres instead

* fix import order

* fix api route definition

* move status choices to serializer

* fix lookup

* fix filtering

* remove admin integration

* cleanup migration

* fix migration change

* cleanup code location

* fix imports

* Add docs for custom states

* add links to custom status
2024-08-22 07:33:15 +10:00
.devcontainer Removed obsoleted version element from docker-compose examples (#7760) 2024-07-30 21:12:02 +10:00
.devops Pin hashes in requirements (#7081) 2024-04-23 17:15:52 +10:00
.github Bump the dependencies group with 2 updates (#7925) 2024-08-20 09:38:02 +10:00
.vscode Migrate Icons to Tabler icons and integrate into PUI (#7684) 2024-07-24 12:36:02 +10:00
assets/images/logo Code structure refactor (#5582) 2024-04-03 12:16:59 +11:00
contrib Bump the dependencies group across 2 directories with 3 updates (#7861) 2024-08-19 07:54:26 +10:00
docs User defined states (#7862) 2024-08-22 07:33:15 +10:00
src User defined states (#7862) 2024-08-22 07:33:15 +10:00
.git-blame-ignore-revs Cleanups for refactor (#6933) 2024-04-03 19:59:02 +11:00
.gitattributes fix endline 2022-05-20 13:35:07 +02:00
.gitignore Build order rules (#7842) 2024-08-10 09:26:03 +10:00
.pkgr.yml Make libffi version more flexible (#7734) 2024-07-25 21:55:49 +10:00
.pre-commit-config.yaml Bump development deps (#7606) 2024-07-18 09:53:17 +10:00
codecov.yml More tests for users app (#7479) 2024-06-21 23:49:52 +10:00
CONTRIBUTING.md Bump pre commit versions (#7255) 2024-06-25 20:52:34 +10:00
crowdin.yml Code structure refactor (#5582) 2024-04-03 12:16:59 +11:00
LICENSE Update LICENSE 2022-02-21 22:31:10 +11:00
Procfile Fix typo in Procfile (#7043) 2024-04-16 08:53:03 +10:00
pyproject.toml Add more liniting rules (mostly for imports) (#7846) 2024-08-10 08:12:58 +10:00
README.md Feat: SSO group sync (#7293) 2024-06-29 20:32:28 +10:00
readthedocs.yml Build order rules (#7842) 2024-08-10 09:26:03 +10:00
RELEASE.md Update broken links (#7019) 2024-04-17 19:42:59 +10:00
requirements.txt Admin shell (#6998) 2024-04-11 21:12:41 +10:00
runtime.txt Add package-based install method (#3743) 2022-10-16 10:14:18 +11:00
SECURITY.md Spelling fix: dates -> days (#3193) 2022-06-14 10:07:48 +10:00
tasks.py Build order rules (#7842) 2024-08-10 09:26:03 +10:00

InvenTree logo

InvenTree

Open Source Inventory Management System

License: MITGitHub tag (latest SemVer) CI Documentation Status Docker Build OpenSSF Best Practices OpenSSF Scorecard Netlify Status Maintainability Rating

codecov Crowdin GitHub commit activity Docker Pulls

GitHub Org's stars Twitter Follow Subreddit subscribers

View Demo · Documentation · Report Bug · Request Feature

🌟 About the Project

InvenTree is an open-source Inventory Management System which provides powerful low-level stock control and part tracking. The core of the InvenTree system is a Python/Django database backend which provides an admin interface (web-based) and a REST API for interaction with external interfaces and applications. A powerful plugin system provides support for custom applications and extensions.

Check out our website for more details.

🧭 Roadmap

Want to see what we are working on? Check out the roadmap tag and horizon milestone.

🛠️ Integration

InvenTree is designed to be extensible, and provides multiple options for integration with external applications or addition of custom plugins:

👾 Tech Stack

Server
Database
Client
DevOps

🧰 Deployment / Getting Started

There are several options to deploy InvenTree.

Single line install - read the docs for supported distros and details about the function:

wget -qO install.sh https://get.inventree.org && bash install.sh

Refer to the getting started guide for a full set of installation and setup instructions.

📱 Mobile App

InvenTree is supported by a companion mobile app which allows users access to stock control information and functionality.

👋 Contributing

Contributions are welcomed and encouraged. Please help to make this project even better! Refer to the contribution page.

📜 Translation

Native language translation of the InvenTree web application is community contributed via crowdin. Contributions are welcomed and encouraged.

💸 Sponsor

If you use InvenTree and find it to be useful, please consider sponsoring the project.

💎 Acknowledgements

We would like to acknowledge a few special projects:

Find a full list of used third-party libraries in our documentation.

❤️ Support

This project is supported by the following sponsors:

Martin Löper Oliver Lippert Seth Smith SpaceQuest Ltd Appwrite Cabot Technologies Markus Kasten Jess Haynes

With ongoing resources provided by:

Servers by Digital Ocean Deploys by Netlify Translation by Crowdin

⚠️ License

Distributed under the MIT License. See LICENSE.txt for more information.