Commit Graph
17989 Commits
Author SHA1 Message Date
e013f03422 [bug] Validate location when completing build outputs (#12570) (#12589)
* [bug] Validate location when completing build outputs

- Cannot be structural

* Fix unit test

---------


(cherry picked from commit 94024ad23e)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2026-08-09 07:30:16 +10:00
github-actions[bot]andOliver 4a1887c76c [bug] Fix post-delete actions (#12575) (#12580)
- Check that underlying part is still available

(cherry picked from commit f1e6ec249d)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-09 07:27:57 +10:00
github-actions[bot]andOliver 8823b66e32 [bug] Fix part duplicate checks (#12574) (#12581)
* [bug] Fix part duplicate checks

* Additional unit tests

(cherry picked from commit 5c798f4237)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-08 21:57:55 +10:00
github-actions[bot]andOliver a7756209bb [bug] excel encoding for data import (#12576) (#12579)
- Handle different encoding types for excel import
- Fail cleanly if cannot read file

(cherry picked from commit 9b5c69da26)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-08 21:57:13 +10:00
github-actions[bot]andOliver f6750fc44c [API] Handle AppRegistryNotReady (#12571) (#12573)
Explicit handling for AppRegistryNotReady error

(cherry picked from commit 66b95cde5b)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-08 17:58:54 +10:00
github-actions[bot]andOliver 522ed66720 Handle missing part (#12566) (#12567)
Part instance may have already been deleted in post_delete hook for related models.

(cherry picked from commit badf7ab300)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-08 14:18:00 +10:00
github-actions[bot]andOliver a86a648ccc Handle report error on missing svg data (#12514) (#12517)
* Handle report error on missing svg data

* Add regression tests

(cherry picked from commit 76a0005b61)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-01 15:48:15 +10:00
github-actions[bot]andOliver 2de0bdad51 Fix for data import "update" (#12513) (#12516)
- Use partial update on serializer
- Mark other fields as not required (pk only)

(cherry picked from commit 16639f35ac)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-08-01 15:20:37 +10:00
Oliver 9dc8261b51 Detect demo branch based on software version (#12531) 2026-08-01 14:43:29 +10:00
Oliver 70dee5c145 Demo data branch backport (#12521)
* Auto-detect demo dataset branch in CI

* Fix github actions

* Fix typo
2026-07-31 15:57:53 +10:00
Oliver 74ee9c5029 Update version.py (#12518) 2026-07-31 12:11:29 +10:00
Oliver 6b237de54e Adjust demo-dataset for CI (#12500) (#12502) 1.4.3 2026-07-29 20:44:39 +10:00
github-actions[bot]andOliver 0169e94007 [1.4.x] Concurrency fix for scheduled tasks (#12493) (#12497)
* Concurrency fix for scheduled tasks (#12493)

- Prevent multiple instances of scheduled tasks from plugins

(cherry picked from commit 6dda125e5c)

* Delete src/backend/_tests_report_129455.txt

---------

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-07-29 14:46:00 +10:00
github-actions[bot]andOliver e31230b1e3 Improve validation for import session (#12492) (#12495)
- Ensure that validated data is a dict shape

(cherry picked from commit 73c0bb9603)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-07-29 07:43:30 +10:00
github-actions[bot]andOliver 7a26ab29f5 Token save fix (#12491) (#12494)
- Only update 'last_seen' field

(cherry picked from commit e918d84f60)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-07-29 07:43:26 +10:00
github-actions[bot]andOliver 8ed8c0deb5 [bug] Attachment str fix (#12461) (#12462)
* Fix stringify for Attachment model

* Add regression tests

(cherry picked from commit 6bd4842fd8)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-07-24 13:04:09 +10:00
Oliver 11a9b49ae6 [bug] BOM checksum fix (#12455) (#12457)
* Enforce ordering of BOM items

* Add prefetch to getRequiredParts
2026-07-23 22:49:09 +10:00
github-actions[bot]andAlex K 3c86e8b0e9 Read report/label templates in binary mode (#12432) (#12441)
* Read report/label templates in binary mode

file_from_template read the template in text mode and wrapped the string
in a ContentFile. The ContentFile size then reflected the character count,
which differs from the UTF-8 byte length for any template that contains
multi-byte characters. Strict S3 implementations such as Backblaze B2
validate the Content-Length header and reject the upload with an
IncompleteBody error. AWS S3 tolerates the mismatch, so the problem is
not visible there.

inventree_transfer_order_report.html is 1458 characters but 1460 bytes.
Its upload fails during create_default_reports, the transaction rolls
back, and the default template is recreated and fails again on every
startup.

Use Path.read_bytes() so the ContentFile size matches the uploaded bytes
and the file handle is closed. Add a regression test asserting the size
equals the file's byte length.

* Test file_from_template across text encodings

(cherry picked from commit ce47cda948)

Co-authored-by: Alex K <alex@sengine.cloud>
2026-07-23 12:53:23 +10:00
github-actions[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Matthias Mair
7ea710cd52 chore(deps): bump pillow from 12.2.0 to 12.3.0 in /src/backend (#12438) (#12447)
* chore(deps): bump pillow from 12.2.0 to 12.3.0 in /src/backend

Bumps [pillow](https://github.com/python-pillow/Pillow) from 12.2.0 to 12.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/12.2.0...12.3.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 12.3.0
  dependency-type: direct:production
...



* fix style

---------




(cherry picked from commit 872cea95ff)

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>
2026-07-23 12:53:12 +10:00
github-actions[bot]andBhumin Paladiya 5d7be930c5 Fix admin search for Address and Contact models (#12440) (#12453)
(cherry picked from commit 8d8ecf2c4c)

Co-authored-by: Bhumin Paladiya <139330832+bhumin18@users.noreply.github.com>
2026-07-23 10:20:10 +10:00
Oliver f9c7b739f6 Update version.py (#12404) 2026-07-16 15:17:13 +10:00
github-actions[bot]andOliver 0cd4b66993 [bug] Tree parent fix (#12401) (#12402)
* Refactor

* row locking on bulk-update

* Rebuild tree in background task

* Regression testing

* Fix unit test

* Allow more generous timeout

(cherry picked from commit 8407f63656)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
1.4.2
2026-07-16 13:14:30 +10:00
github-actions[bot]andOliver d7283a5b6e Fix for BuildItem with zero quantity (#12387) (#12390)
(cherry picked from commit 183e6c37b1)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-07-14 13:51:46 +10:00
github-actions[bot]andOliver 83774e126d Prevent duplication completion of ReturnOrder (#12386) (#12389)
(cherry picked from commit 2b25a46eaa)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-07-14 13:51:34 +10:00
github-actions[bot]andOliver 983916cb5a fix concurrent update issues (#12380) (#12381)
- Ensure database values are used for delta updates
- Regression tests

(cherry picked from commit 431a6e49a0)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-07-13 20:50:01 +10:00
github-actions[bot]andOliver ae0765cebd Prevent duplicate receive operation on ReturnOrder (#12368) (#12372)
(cherry picked from commit 85e13b26ec)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-07-13 17:27:41 +10:00
github-actions[bot]andOliver 881bac4b09 [bug] Transfer order fixes (#12367) (#12371)
* Handle failed transfer order transaction

* Prevent duplicate completion of transfer order

(cherry picked from commit 0b3ba6c4eb)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-07-13 16:11:26 +10:00
github-actions[bot]andOliver 9b0aa9a8c0 [bug] prevent double-complete of shipments (#12366) (#12370)
(cherry picked from commit 32ca78f65c)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-07-13 16:03:56 +10:00
github-actions[bot]andOliver e2cb039fa9 Fix data import bug (#12355) (#12356)
- Fixes bug where imported data headers get out of sync
- Additional unit tests

(cherry picked from commit 89d11e9e37)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-07-11 12:40:43 +10:00
github-actions[bot]andOliver 8e724da108 Bug fixes for PO receive (#12349) (#12351)
* Bug fixes for PO receive

- Fix shadowed variable
- Notify listeners for all received items

* Cache part subs

(cherry picked from commit a1787c659c)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-07-10 22:54:05 +10:00
github-actions[bot]andOliver eecc5fa186 [UI] Docs links (#12342) (#12346)
* Simplify navigation links

* simplify version.py

* Simplify docs links

* Consolidate

(cherry picked from commit aec215ca2f)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-07-10 06:37:02 +10:00
github-actions[bot]andOliver 04304c8182 Currency options fix (#12343) (#12347)
- Ensure currency options are loaded dynamically

(cherry picked from commit ae12fa342a)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-07-10 06:35:21 +10:00
github-actions[bot]andOliver 51859b7862 [bug] Plugin load fix (#12329) (#12340)
* Update plugin name

* Backup accessor for plugin name

* Add null check for plg_db

(cherry picked from commit d041e251d2)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-07-09 13:36:38 +10:00
77c6f54bd9 Fix notes on part creation (#12332) (#12339)
(cherry picked from commit a616e7826c)

Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-07-09 08:37:52 +10:00
github-actions[bot]andOliver b629be7cb6 Fix for stocktake exporter (#12324) (#12327)
(cherry picked from commit b63d829891)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-07-08 17:03:56 +10:00
github-actions[bot]andOliver 648125ed84 [bug] Barcode bug fix (#12319) (#12321)
* [bug] Check for null line_item when receiving items

* Additional unit testing

* Additional context

* Fix tests

(cherry picked from commit 69ae28d0df)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-07-07 21:12:20 +10:00
Oliver 3504597e4a Bump InvenTree software version to 1.4.2 (#12291) 2026-07-01 23:41:54 +10:00
github-actions[bot]andOliver 9793bba77a Fix stocktake bug for counting serialized items (#12280) (#12282)
* Fix stocktake bug for counting serialized items

* Add unit test

(cherry picked from commit 414aac0224)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
1.4.1
2026-06-30 17:09:23 +10:00
github-actions[bot]andOliver ffc60cb189 [UI] Stock column fix (#12268) (#12269)
* [UI] Fix StockColumn component

* stock table rendering tweaks

(cherry picked from commit 1da71ca3b9)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-06-27 12:25:10 +10:00
github-actions[bot]andOliver 2ac8f608d8 Bug fix for exception handler (#12257) (#12261)
(cherry picked from commit e847d96a88)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-06-26 09:55:52 +10:00
Oliver 9ea33df847 Bump version to 1.4.1 (#12242) 2026-06-24 15:47:31 +10:00
Oliver 0a9a8b1c54 Add release entry for 1.4.0 (#12237)
* Add release entry for 1.4.0

* Mark version as 1.4.0
1.4.0
2026-06-24 13:53:55 +10:00
Oliver 74dc21b81c [bug] Allocated query fix (#12234)
* Fix BuildLineFilter.filter_allocated

- Required for mysql backend

* Spoecify output field
2026-06-24 12:49:43 +10:00
Oliver 75b27bd10a [UI] Tweak "order parts" wizard (#12236)
- Order supplier parts by "primary" value
- Attempt to auto-fill primary supplier part
2026-06-24 12:49:30 +10:00
Oliver 184ec37975 [UI] Tweak today color (#12235)
- Make "today" more obvious in calendar views
2026-06-24 12:49:19 +10:00
github-actions[bot]andgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 6a2094e2a0 New Crowdin translations by GitHub Action (#12192)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-24 11:44:51 +10:00
Matthias Mair f21bc2d06f extend barcode scans API (#12233)
* extend barcode scans with user perm check

* fix import

* fix call

* align error message

* add missing permissions to test

* remove erronous assign

* ensure permission erros knock through
2026-06-24 10:45:26 +10:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 78a00d320a chore(deps): bump the dependencies group with 3 updates (#12220)
Bumps the dependencies group with 3 updates: [oasdiff/oasdiff-action](https://github.com/oasdiff/oasdiff-action), [CodSpeedHQ/action](https://github.com/codspeedhq/action) and [crowdin/github-action](https://github.com/crowdin/github-action).


Updates `oasdiff/oasdiff-action` from 0.0.57 to 0.1.1
- [Release notes](https://github.com/oasdiff/oasdiff-action/releases)
- [Commits](https://github.com/oasdiff/oasdiff-action/compare/3530478ec30f84adedbfeb28f0d9527a290f50a9...5fbe96ede8d0c53aeadef122d7a0abb79152d493)

Updates `CodSpeedHQ/action` from 4.17.0 to 4.17.5
- [Release notes](https://github.com/codspeedhq/action/releases)
- [Changelog](https://github.com/CodSpeedHQ/action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codspeedhq/action/compare/9d332c4d90b43981c3e55ae8e38e68709996240f...c145068895e045cc725ee76fcd2307624b65c3af)

Updates `crowdin/github-action` from 2.16.2 to 2.16.3
- [Release notes](https://github.com/crowdin/github-action/releases)
- [Commits](https://github.com/crowdin/github-action/compare/8868a33591d21088edfc398968173a3b98d51706...52aa776766211d83d975df51f3b9c53c2f8ba35f)

---
updated-dependencies:
- dependency-name: oasdiff/oasdiff-action
  dependency-version: 0.1.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: CodSpeedHQ/action
  dependency-version: 4.17.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: crowdin/github-action
  dependency-version: 2.16.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-23 16:30:07 +10:00
PhilandMatthias Mair 3bf410c313 color scheme: Use the users prefered mode by default (#12227)
* color scheme: Use the users prefered colour scheme if one isn't defined in the store

* fix style

---------

Co-authored-by: Matthias Mair <code@mjmair.com>
2026-06-23 16:26:06 +10:00
Matthias Mair ec845c61cd Bump ty (#12211)
* bump ty

* various fixes

* fix settings

* bump stubs

* update pre-commit setup

* update ignore

* fix various issues

* fix style

* fix ignores

* fix wrong ty warnings
2026-06-22 08:26:31 +10:00