Skip to main content

Inventory with warehouses, stock moves, FIFO/Avg valuation, and accounting (COGS/Asset) integration for Django.

Project description

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" }

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_inventory_ve-0.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_inventory_ve-0.1.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file django_inventory_ve-0.1.0.tar.gz.

File metadata

  • Download URL: django_inventory_ve-0.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.12

File hashes

Hashes for django_inventory_ve-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e1e6a100689539dc9cc4fff0016dc5f6f74392570bd6e9d71500fa9c1032a267
MD5 63739bf47dfe95d019e20d089527e3a9
BLAKE2b-256 0f3d750580c92003d0ee4567997aa5af1346c0d345a1a488016f3f6346b266e6

See more details on using hashes here.

File details

Details for the file django_inventory_ve-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_inventory_ve-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5af39e3a5dc3cb09e016b4585448862caffc4be746af1e0ca6a636ba45ecad5e
MD5 87a34466b73dc3cd61a6fcfdccede029
BLAKE2b-256 12ba0bd688124ae5e35b8297fd08aa10b137df91ca9bbc35aa3542808e2bdfc7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page