django-inventory-ve
Install
pip install django-inventory-ve
Settings
INSTALLED_APPS += ["rest_framework", "finacc", "inventory"]
INVENTORY = {"DEFAULT_COST_METHOD": "avg", "AUTO_POST_COGS": True, "AUTO_HOOK_SALES": True}
URLs
path("api/inventory/", include("inventory.api.urls"))
Create & Post a Stock Move (IN)
POST /api/inventory/moves/
{ "company": 1, "item": 1, "warehouse": 1, "date": "2025-11-09", "currency": "INR",
"type": "in", "qty": "10.000000", "unit_cost": "250.00", "ref": "B-0001" }
Issue Stock (OUT → COGS)
POST /api/inventory/moves/
{ "company": 1, "item": 1, "warehouse": 1, "date": "2025-11-09", "currency": "INR",
"type": "out", "qty": "2.000000", "ref": "S-0001" }
settings.py
INSTALLED_APPS += ["rest_framework", "finacc", "inventory"]
INVENTORY = {"DEFAULT_COST_METHOD": "avg", "AUTO_POST_COGS": True, "AUTO_HOOK_SALES": True}
urls.py
path("api/inventory/", include("inventory.api.urls")),
migrations
python manage.py migrate
python manage.py inventory_bootstrap_demo --company=1
POST /api/inventory/moves/
{ "company":1,"item":1,"warehouse":1,"date":"2025-11-09","currency":"INR",
"type":"in","qty":"10.000000","unit_cost":"250.00","ref":"B-0001" }
POST /api/inventory/moves/
{ "company":1,"item":1,"warehouse":1,"date":"2025-11-09","currency":"INR",
"type":"out","qty":"2.000000","ref":"S-0001" }
Metadata
Release files for django-inventory-ve 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_inventory_ve-0.1.0.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_inventory_ve-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.9 kB
Release files / django_inventory_ve-0.1.0.tar.gz
| Download URL | django_inventory_ve-0.1.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1e6a100689539dc9cc4fff0016dc5f6f74392570bd6e9d71500fa9c1032a267
|
|
BLAKE2b-256 checksum How to use checksums |
0f3d750580c92003d0ee4567997aa5af1346c0d345a1a488016f3f6346b266e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.12
|
Release files / django_inventory_ve-0.1.0-py3-none-any.whl
| Download URL | django_inventory_ve-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5af39e3a5dc3cb09e016b4585448862caffc4be746af1e0ca6a636ba45ecad5e
|
|
BLAKE2b-256 checksum How to use checksums |
12ba0bd688124ae5e35b8297fd08aa10b137df91ca9bbc35aa3542808e2bdfc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.12
|