Commit Graph
18204 Commits
Author SHA1 Message Date
Matthias Mair da6d0c7a69 Update version.py (#12825) 2026-09-09 09:59:26 +10:00
github-actions[bot]andOliver d2db7b1fb6 [UI] Bug fix for duplicating purchase order line item (#12822) (#12823)
(cherry picked from commit 0a5b04b16d)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
1.5.4
2026-09-09 09:58:40 +10:00
Matthias Mair 718aed27ee Switch installer source; fix package install (#12824) (#12829)
* switch installer to new distri

* re-generate script

* fix change capitaisation behaviour

* fix installer

(cherry picked from commit 04b5b69b69)
2026-09-09 09:34:00 +10:00
Matthias MairandOliver 0cfc1f5b2d Update version.py (#12795)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-09-08 21:35:35 +10:00
Oliver 1930db0234 Fix for recursive custom units (#12815) (#12820) 1.5.3 2026-09-08 12:05:04 +10:00
github-actions[bot]andOliver 181d86c651 [bug] Prevent editing of model-type for data import (#12809) (#12811)
(cherry picked from commit 5a7308763e)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-09-07 22:42:42 +10:00
github-actions[bot]andOliver ad8013dc23 [bug] Plugin fix (#12805) (#12806)
* [bug] Handle null plugin instance

* Add regression test

* Fix secondary instances of same bug

(cherry picked from commit 2566d332a8)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-09-07 17:12:37 +10:00
github-actions[bot]andMatthias Mair b5c6742491 Clarify supported OS versions for installer (#12803) (#12804)
Fixes #12798

(cherry picked from commit 9bc5054d84)

Co-authored-by: Matthias Mair <code@mjmair.com>
2026-09-07 10:52:23 +10:00
github-actions[bot]andOliver 778d44b89c Plugin load fix (#12776) (#12802)
* Robustify plugin file loading

* Lock static file copying

* Improve robustness of static file copying

* Add regression tests

* Handle database not being ready

* Fix identified limitation and refactor code

* Attempt to fix CI job

* instrumentation for CI - will revert

* Another bugfix attempt

(cherry picked from commit b4cb9a9746)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-09-07 10:49:32 +10:00
github-actions[bot]andOliver 4e0be4a65a Exception handling for data outputs (#12797) (#12800)
(cherry picked from commit 4a0e28510f)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-09-07 07:46:06 +10:00
github-actions[bot]andOliver b1b060915e Add error message for missing TLD (#12789) (#12796)
* Add error message for missing TLD

* add error code for missing TLD

(cherry picked from commit 321489a41b)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-09-06 17:03:12 +10:00
github-actions[bot]andOliver 5b97accbf3 Enhanced error message on CSRF failure (#12788) (#12794)
* Enhanced error message on CSRF failure

* Defer to 'detail' field if exists

(cherry picked from commit 9a416df5d4)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-09-06 13:04:57 +10:00
github-actions[bot]andOliver 1368b7db08 Refactor part pricing updates (#12787) (#12791)
* Refactor part pricing updates

- Handles cases where underlying part has been deleted

* Add regression tests

(cherry picked from commit fa44925b21)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-09-06 08:52:57 +10:00
Oliver c154bfabc3 BOM Validation Improvements (#12780) (#12786)
* Adjust get_bom_hash function:

- Optionally skip inclusion of part names
- Skip 'piece_count' if default value set

* Fall back to legacy comparison

* Add per-line-item check

* Add regression tests
2026-09-05 10:41:32 +10:00
github-actions[bot]andOliver 4a795ccddc Handle missing record in after_delete_supplier_part (#12772) (#12777)
(cherry picked from commit 8c1c16e59a)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-09-03 16:15:02 +10:00
github-actions[bot]andOliver 1c4cfd8a47 Metadata fix (#12771) (#12775)
* Fix security hole for metadata API

* Regression test for field injection

(cherry picked from commit 694d890ce5)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-09-03 11:59:59 +10:00
github-actions[bot]andOliver 2ddc615ca2 Permissions fix for Calendar views (#12764) (#12765)
(cherry picked from commit 1238daa783)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-09-02 16:00:42 +10:00
08ae4aba07 Clarify SSO setup via Database Admin interface (#12474) (#12761)
* Clarify SSO setup via Database Admin interface

Fixes #10415 by documenting that Social applications are
configured in Django admin at /admin/, not via config.yaml or API.

* docs: move Database Admin access details to db_admin.md

Per review: drop the access-how-to from SSO.md and link to the Database Admin guide instead.

---------


(cherry picked from commit ffcbbf6292)

Co-authored-by: Senior Data Engineer <br198064@gmail.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2026-09-02 09:36:00 +10:00
github-actions[bot]andOliver 7f9d89d144 [UI] Fix useReceiveLineItems bug (#12756) (#12757)
- Prevent negative pre-fill values

(cherry picked from commit f8328cd1db)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-09-01 12:55:56 +10:00
github-actions[bot]andOliver 2754f8c938 [UI] Fixes for column resizing (#12755) (#12758)
- Apply CSS fix
- Allow proper dragging
- Ensure table columns fill 100% width

(cherry picked from commit ed84d06dbe)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-09-01 12:55:54 +10:00
github-actions[bot]andSenior Data Engineer e86591d801 Document Docker Compose container health checks (#12420) (#12750)
* Document Docker Compose container health checks

Add user documentation and CHANGELOG entry for the production
docker-compose health checks proposed in #12124.

* docs: match health-check docs to merged docker-compose.yml

Reviewed against inventree/InvenTree#12124: server uses invoke server-health, proxy probes Caddy :9090, worker uses invoke worker-health.

(cherry picked from commit fe489bd6b6)

Co-authored-by: Senior Data Engineer <br198064@gmail.com>
2026-08-31 21:17:13 +10:00
d68411571f (feature): docker health checks (#12124) (#12749)
* Add Docker container health checks

* Use invoke tasks for Docker container health checks

Updates server and worker healthchecks to use invoke server-health
and invoke worker-health as requested in #12124 review.

Refs #12124

* Added HTTP host check to server health check

* Add health-check endpoint for Caddyfile

* Simplify health check for Caddy

* Remove test file

---------




(cherry picked from commit 773ed4eb3a)

Co-authored-by: getpwnam <cp@evilbit.co.uk>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
Co-authored-by: DESKTOP-691E36A\Administrator <br198064@gmail.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2026-08-31 21:01:18 +10:00
github-actions[bot]andOliver 2fbaa02a07 Notification fix (#12744) (#12745)
* Fill out stock location based on part default

* [UI] Bug fix for notifications

- Closes https://github.com/inventree/InvenTree/issues/12706

(cherry picked from commit c821fa0f43)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-30 18:42:30 +10:00
github-actions[bot]andOliver fa6b9e4349 Stock location fix (#12742) (#12743)
* Fill out stock location based on part default

* Add playwright tests

(cherry picked from commit 871147d936)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-30 13:17:12 +10:00
github-actions[bot]andOliver ec04fcb31e Tracing fix (#12728) (#12736)
* Bug fix for tracing setup

* Support forking against multiple PIDs

* Updated documentation

(cherry picked from commit fcbcef5aae)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-29 09:11:01 +10:00
e909936ff7 update auto allocation button tooltip and visibility logic (#12720) (#12726)
(cherry picked from commit af4c4220f5)

Co-authored-by: Alonso Lopez-Valdez <alonsl1@uci.edu>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-28 09:48:29 +10:00
github-actions[bot]andOliver 4446c9596f Fix race condition for take_stock method (#12718) (#12719)
(cherry picked from commit 2dca27f78b)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-27 16:06:12 +10:00
Oliver c0469d2530 Bump InvenTree software version to 1.5.3 (#12711) 2026-08-26 09:06:01 +10:00
github-actions[bot]andOliver f15e35c33d [UI] PO Receive bug (#12709) (#12710)
* [UI] Fix for receiving items

* Add playwright regression test

(cherry picked from commit 39f2d724aa)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
1.5.2
2026-08-25 15:32:19 +10:00
github-actions[bot]andOliver c77ff7eba0 User permissions check for Attachment API (#12689) (#12691)
(cherry picked from commit 528bb085d7)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-23 23:02:08 +02:00
github-actions[bot]andOliver db404fe0f8 Strip potentially dangerous tags from SVG files (#12687) (#12690)
(cherry picked from commit f16fb36b08)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-23 23:01:51 +02:00
github-actions[bot]andOliver b913c46ca2 Add --traceback to invoke commands (#12681) (#12683)
Provides better feedback in the case of failure

(cherry picked from commit 669c2c0511)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-23 08:34:19 +10:00
0ed2c2951e fix: trigger pricing recalculation when SupplierPart pack_quantity changes (#12421) (#12674)
* fix: trigger pricing recalculation when SupplierPart is saved or deleted

When a SupplierPart's pack_quantity is updated after price breaks have
already been created, the Part's pricing (and BOM cost rollups for any
assemblies using that part) was not recalculated. This is because there
was no post_save or post_delete signal handler for the SupplierPart model
to trigger schedule_pricing_update on the linked Part.

Added post_save and post_delete signal handlers for SupplierPart that
mirror the existing SupplierPriceBreak signal handlers. The pricing
cascade (via update_assemblies) ensures BOM line costs in parent
assemblies are also updated.

Fixes #12285

* style: fix ruff format issues

* style: apply ruff format with --preview flag (matching project config)

* fix: resolve PartPricing.DoesNotExist in pack_quantity test

The test captured self.part.pricing before any PartPricing row existed,
yielding an unsaved instance; the later refresh_from_db() then raised
DoesNotExist. Re-fetch self.part.pricing after the price break creates
the row, matching the pattern in test_supplier_part_pricing.

---------



(cherry picked from commit be9faff766)

Co-authored-by: amanjain57-gif <aman.jain57@gmail.com>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
Co-authored-by: Aman Jain <jainamn@amazon.com>
2026-08-21 15:25:01 +10:00
Oliver 4a490854c8 Bump InvenTree software version to 1.5.2 (#12660) 2026-08-20 00:23:35 +02:00
Matthias Mair ae97972ba2 [FR] stop shipping docs with packages (#12657) (#12662)
Fixes #12610

(cherry picked from commit 8f1bb69eba)
2026-08-20 00:06:26 +02:00
84052e1ac8 chore(deps): bump sqlparse from 0.5.5 to 0.6.0 in /src/backend (#12653) (#12659)
* chore(deps): bump sqlparse from 0.5.5 to 0.6.0 in /src/backend

Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.5.5 to 0.6.0.
- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG)
- [Commits](https://github.com/andialbrecht/sqlparse/compare/0.5.5...0.6.0)

---
updated-dependencies:
- dependency-name: sqlparse
  dependency-version: 0.6.0
  dependency-type: direct:production
...



* fix style

---------




(cherry picked from commit dc9a277478)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
1.5.1
2026-08-19 13:18:52 +10:00
github-actions[bot]anddependabot[bot] 5dacf2dc28 chore(deps): bump python in /contrib/container (#12650) (#12658)
Bumps python from 3.14.6-slim-trixie to 3.14.7-slim-trixie.

---
updated-dependencies:
- dependency-name: python
  dependency-version: 3.14.7-slim-trixie
  dependency-type: direct:production
  update-type: version-update:semver-patch
...



(cherry picked from commit 97a48f7daa)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-19 09:25:02 +10:00
github-actions[bot]andOliver 0acfec3ef0 Improve error handling for unit registry (#12643) (#12645)
(cherry picked from commit af74f1abf6)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-16 12:41:38 +10:00
github-actions[bot]andOliver c977de706a [bug] Fix broken user setting (#12638) (#12639)
- Closes https://github.com/inventree/InvenTree/issues/12637

(cherry picked from commit 4767edfe1b)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-14 09:35:08 +10:00
github-actions[bot]andOliver 6362f59fd5 [bug] Fix ReturnOrder event registration (#12633) (#12636)
(cherry picked from commit 695b9c1dc2)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-13 20:09:56 +10:00
github-actions[bot]andOliver d8e6fdab52 Add docs for return order (#12632) (#12634)
(cherry picked from commit 13540fceeb)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-13 16:03:56 +10:00
github-actions[bot]andOliver 9af445268f [bug] OptionalField race condition (#12627) (#12629)
* [bug] OptionalField race condition

Fixes subtle bug where OptionalField entries can be  silenty dropped from an API request due to concurrent requests / race conditions

* Additional unit tests

* Additional guard in metadata.py

* include extra kwargs

* Adjust import/exporting options

* Fix attribute sharing across class instances

(cherry picked from commit 2b3283d5d2)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-12 19:46:36 +10:00
efb0b94c07 reset errors on update (#12550) (#12630)
* reset errors on update

* add empty line

---------


(cherry picked from commit f5c4bbc6a8)

Co-authored-by: ribsey <lukas.ribi@gmail.com>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-12 17:45:15 +10:00
github-actions[bot]andOliver be566f4e0f [bug] Handle duplicate email addresses for magic links (#12621) (#12622)
(cherry picked from commit 77d8470141)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-12 10:27:03 +10:00
ea146937c1 fix: support UUID notification references (#12616) (#12626)
* fix: support UUID notification references

* test: update notification uid expectation

---------


(cherry picked from commit 55a193e5d7)

Co-authored-by: FurinaDog <feixiang130214@outlook.com>
Co-authored-by: FurinaDog <FurinaDog@users.noreply.github.com>
2026-08-12 08:55:11 +10:00
Oliver 0a22512ae6 Bump InvenTree software version to 1.5.1 (#12620) 2026-08-11 22:58:17 +10:00
github-actions[bot]andMatthias Mair 6a6736b8d6 fix(frontend): Improve flakiness issues (#12617) (#12619)
* small improvements to reduce flakiness

* disable throtteling to fix flaking tests

(cherry picked from commit 7a935f6055)

Co-authored-by: Matthias Mair <code@mjmair.com>
1.5.0
2026-08-11 21:08:24 +10:00
github-actions[bot] e09b4c65c5 New Crowdin translations by GitHub Action (#12535) (#12618)
(cherry picked from commit f054a487ef)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-11 21:08:11 +10:00
github-actions[bot]andOliver a369568b68 Update version for @inventreedb/ui (#12611) (#12614)
* Update version for @inventreedb/ui

* Revert yarn.lock changes

(cherry picked from commit 11a48bffed)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-11 13:46:00 +10:00
github-actions[bot]andOliver 9824b228ce [CI] Improve robustness for playwright test (#12612) (#12613)
(cherry picked from commit a3348248ac)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-11 13:45:45 +10:00