Go to file
Oliver ab4e2aa8bb
Part stocktake (#4069)
* Remove stat context variables

* Revert "Remove stat context variables"

This reverts commit 0989c308d0.

* Allow longer timeout for image download tests

* Create PartStocktake model

Model for representing stocktake entries against any given part

* Admin interface support for new model

* Adds API endpoint for listing stocktake information

* Bump API version

* Enable filtering and ordering for API endpoint

* Add model to permission group

* Add UI hooks for displaying stocktake data for a particular part

* Fix encoded type for 'quantity' field

* Load stocktake table for part

* Add "stocktake" button

* Add "note" field for stocktake

* Add user information when performing stocktake

* First pass at UI elements for performing stocktake

* Add user information to stocktake table

* Auto-calculate quantity based on available stock items

* add stocktake data as tabular inline (admin)

* js linting

* Add indication that a stock item has not been updated recently

* Display last stocktake information on part page

* js style fix

* Test fix for ongoing CI issues

* Add configurable option for controlling default "delete_on_deplete" behaviour

* Add id values to cells

* Hide action buttons (at least for now)

* Adds refresh button to table

* Add API endpoint to delete or edit stocktake entries

* Adds unit test for API list endpoint

* javascript linting

* More unit testing

* Add Part API filter for stocktake

* Add 'last_stocktake' field to Part model

- Gets filled out automatically when a new PartStocktake instance is created

* Update part table to include last_stocktake date

* Add simple unit test

* Fix test
2022-12-31 23:14:43 +11:00
.devcontainer Add db an media backups (#3783) 2022-10-17 00:09:31 +11:00
.github [Testing] Fix docker build (#4109) 2022-12-26 23:27:12 +11:00
.vscode vscode devcontainer (#3474) 2022-08-09 16:06:32 +10:00
ci Use github token for version check (#4092) 2022-12-21 23:00:23 +11:00
contrib add option to install on ubuntu 22.04 (#3970) 2022-11-21 22:03:32 +11:00
deploy fix endline 2022-05-20 13:35:07 +02:00
docker docker venv fix (#4118) 2022-12-30 22:55:24 +11:00
images/logo Export large version of the logo 2020-05-12 00:06:26 +10:00
InvenTree Part stocktake (#4069) 2022-12-31 23:14:43 +11:00
.eslintrc.yml lots of linting fixes for JS files 2021-09-03 22:54:17 +10:00
.gitattributes fix endline 2022-05-20 13:35:07 +02:00
.gitignore Add unit test for deleting part which has pricing information (#3986) 2022-12-13 11:07:35 +11:00
.gitpod.yml Add db an media backups (#3783) 2022-10-17 00:09:31 +11:00
.pkgr.yml Installer fixes (#3962) 2022-11-20 19:29:12 +11:00
.pre-commit-config.yaml update pre-commit (#3744) 2022-10-06 22:32:01 +11:00
CONTRIBUTING.md Update issue templates to GH forms (#3495) 2022-08-08 11:12:52 +10:00
crowdin.yml L10 merge (#1595) 2021-05-18 19:20:24 +10:00
docker-compose.yml Fix for docker-compose v1 (#3434) 2022-07-30 11:43:15 +10:00
docker.dev.env update INVENTREE_LOG_LEVEL param (#4058) 2022-12-14 07:17:24 +11:00
Dockerfile Add postgresql-client to docker image (#3802) 2022-10-17 14:50:05 +11:00
LICENSE Update LICENSE 2022-02-21 22:31:10 +11:00
package-lock.json Bump minimatch from 3.0.4 to 3.1.2 (#3912) 2022-11-11 14:38:43 +11:00
package.json prefix version in package 2021-12-02 11:33:02 +01:00
Procfile Add package-based install method (#3743) 2022-10-16 10:14:18 +11:00
README.md add do link again (#3992) 2022-11-25 12:24:24 +11:00
RELEASE.md Include 'default' value in OPTIONS request for any fields with specified default values 2021-06-27 21:44:21 +10:00
requirements-dev.in Requirements fix (#3280) 2022-07-02 21:01:01 +10:00
requirements-dev.txt Update deps to newest releases (#3782) 2022-10-13 11:07:06 +11:00
requirements.in Calendar export (#3858) 2022-12-21 23:17:27 +11:00
requirements.txt Calendar export (#3858) 2022-12-21 23:17:27 +11: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
setup.cfg Add more checks to pre-commit (#3132) 2022-06-06 08:56:52 +10:00
tasks.py Debug for docker workflow (#4021) 2022-12-09 00:15:26 +11:00

InvenTree logo

InvenTree

Open Source Inventory Management System

License: MITGitHub tag (latest SemVer) CI Docker Build

Coveralls Crowdin Lines of code 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.

InvenTree is designed to be lightweight and easy to use for SME or hobbyist applications, where many existing stock management solutions are bloated and cumbersome to use. Updating stock is a single-action process and does not require a complex system of work orders or stock transactions.

Powerful business logic works in the background to ensure that stock tracking history is maintained, and users have ready access to stock level information.

🎯 Features

  • Organize Parts and BOMs
  • Manage Suppliers
  • Instant Stock Knowledge
  • Extend and Customize to fit your usage

🧭 Roadmap

  • Plugins
  • Improved Importers
  • Custom Workflow Processes

🛠️ 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

🧰 Getting Started

Refer to the getting started guide for installation and setup instructions.

📱 Mobile App

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

🚋 Deploy

There are several options to deploy InvenTree.

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

wget -Nq https://raw.githubusercontent.com/InvenTree/InvenTree/master/contrib/install.sh && bash install.sh

👋 Contributing

Contributions are welcomed and encouraged. Please help to make this project even better! Refer to the contribution page in the docs and check out contributing.md.

📜 Translation

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

To contribute to the translation effort, navigate to the InvenTree crowdin project, create a free account, and start making translations suggestions for your language of choice!

💸 Sponsor

If you use InvenTree and find it to be useful, please consider making a donation toward its continued development.

Donate via PayPal

💎 Acknowledgements

We would like to acknowledge a few special projects:

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

⚠️ License

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