Go to file
Oliver 5ba75c868d
total_price for orders (#4447)
* Adds unit test for counting queries on PurchaseOrderList API endpoint

- We will work to make this queryset more efficient

* PEP fixes

* Add 'total_price' fields to SalesOrder and PurchaseOrder models

* PurchaseOrder list API now has constant query count

* Data migration for updating existing PurchaseOrder and SalesOrder instances

- Calculate total_price for any existing order
- Will fail if exchange rates are not available

* Add total_price_currency to API serializers

* Render total_price in SalesOrder table

* Add ability to filter both lists by total_price field

* Update total_price whenever an order is updated

* Update total price whenever a lineitem is saved or deleted

* Add query-counting unit test for SalesOrder list API

* Calling refresh_from_db inside a save() method is *not* a good idea
2023-03-05 22:22:18 +11:00
.devcontainer Fix typos/naming (#4242) 2023-01-25 09:29:50 +11:00
.github Add FAQ link to issues template (#4364) 2023-02-18 19:40:09 +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 [BUG] Quick Installer: INVENTREE_DB_PORT errors (#4224) 2023-01-25 09:31:55 +11:00
deploy fix endline 2022-05-20 13:35:07 +02:00
docker [Feature] Stocktake reports (#4345) 2023-02-17 11:42:48 +11:00
images/logo Export large version of the logo 2020-05-12 00:06:26 +10:00
InvenTree total_price for orders (#4447) 2023-03-05 22:22:18 +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 Add cli to package installs (#4274) 2023-01-29 12:39:27 +11:00
.pre-commit-config.yaml Update dependencies (#4368) 2023-02-19 21:33:04 +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 support podman and selinux for dev setup (#4354) 2023-02-20 07:21:17 +11:00
docker.dev.env update INVENTREE_LOG_LEVEL param (#4058) 2022-12-14 07:17:24 +11:00
Dockerfile add libwebp-dev dependency (fixes #4269) (#4335) 2023-02-12 07:10:48 +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 cli to package installs (#4274) 2023-01-29 12:39:27 +11:00
README.md Update installer path (#4305) 2023-02-05 10:56:33 +11:00
RELEASE.md Fix typos/naming (#4242) 2023-01-25 09:29:50 +11:00
requirements-dev.in Slow tests (#4435) 2023-03-02 13:51:52 +11:00
requirements-dev.txt Slow tests (#4435) 2023-03-02 13:51:52 +11:00
requirements.in Update dependencies (#4368) 2023-02-19 21:33:04 +11:00
requirements.txt Update dependencies (#4368) 2023-02-19 21:33:04 +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 Slow tests (#4435) 2023-03-02 13:51:52 +11:00

InvenTree logo

InvenTree

Open Source Inventory Management System

License: MITGitHub tag (latest SemVer) CI Docker Build

Coveralls 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.

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 -Oq install.sh https://get.inventree.org && 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.