2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-11-13 11:26:42 +00:00

17057 Commits

Author SHA1 Message Date
github-actions[bot]
0d305e10f6 Fix selection list items not displaying values (#10722) (#10723)
Fixes #10701

The issue was that the table row key was using 'props.item.pk', but the
API returns 'id' instead. This caused React to not properly render the
rows with their values.

Changed the key to use 'props.item.id' with a fallback to 'props.idx'
for new rows that don't have an ID yet.


(cherry picked from commit 8d1f7f39b4)

Signed-off-by: Akhil Singh <singhakhil69@gmail.com>
Co-authored-by: Akhil Singh <35478226+akhilsingh-git@users.noreply.github.com>
1.0.9
2025-10-31 09:08:04 +11:00
Matthias Mair
02fc02ffd1 refactor(backend): switch to empty buildpack for package, extend supported OS versions (#10705) (#10712)
* bump vers

* fix ssl?

Added build dependencies for libbz2, libffi, and libssl.

* try empty buildpack

* clean up

* fix ref

* remove things we now do not need anymore

* add 22.04 as a target

* cleanup installer

* add changelog entry

* add dotenv

* update skript

* make task more robust for package usage

* ensure we have a site-url set

* fix style

* fix syntax

(cherry picked from commit f47a1a4675)
2025-10-29 20:12:49 +11:00
github-actions[bot]
babe952bcf Format number fix (#10710) (#10711)
* Improvements for format_number func

- Prevent accidental rendering in scientific notation

* Add multiplier argument to format_number

(cherry picked from commit c1bbef1a4d)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-29 16:43:02 +11:00
github-actions[bot]
485e4ae178 [UI] Fix BuildLineTable (#10707) (#10708)
- Closes https://github.com/inventree/InvenTree/issues/10700

(cherry picked from commit c7593d983f)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-29 14:28:54 +11:00
github-actions[bot]
1e6630317c chore(deps): bump pip from 25.2 to 25.3 in /src/backend (#10690) (#10694)
* chore(deps): bump pip from 25.2 to 25.3 in /src/backend

Bumps [pip](https://github.com/pypa/pip) from 25.2 to 25.3.
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/pip/compare/25.2...25.3)

---
updated-dependencies:
- dependency-name: pip
  dependency-version: '25.3'
  dependency-type: indirect
...



* fix style

---------




(cherry picked from commit ceb055d61a)

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>
2025-10-28 11:26:26 +11:00
github-actions[bot]
9bd38aa4ba Stock form fixes (#10673) (#10677)
* Improve rendering of SupplierPart in forms

- Display pack_quantity

* Ensure boolean values have default

(cherry picked from commit 636477ac13)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-26 12:00:17 +11:00
github-actions[bot]
8d8dd91ae3 Delete locations fix (#10672) (#10676)
* Cleaner handling of inputs

* Fix for frontend form:

- Fix typo in field
- Better option defaults

* Tweak part category delete form

* Add frontend tests

(cherry picked from commit 23d580c4a9)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-26 12:00:03 +11:00
Oliver
3c372d0c8c Bump software version to 1.0.9 (#10674) 2025-10-26 11:00:08 +11:00
Oliver
0dcb706f4c Default stock currency (#10641) (#10644)
* Default stock currency (#10641)

* Fix for useStockFields

- Use default currency

* Ensure default currency is observed

* Specify field default

* Improve import (for ty)

* Update migration files

- Point currency fields to the correct default method

* Unit tests

- Ensure stock item gets correct default currency

* Cleaner generation of default currency value

- Return empty string during migratoins

* Update existing migrations

* Reduce noise

* Ignore "no-matching-overload" rule for ty

* Tweak money_kwargs

* Remove conflicting code

* Fix import

* Tweak currency_code_default
1.0.8
2025-10-21 16:29:24 +11:00
github-actions[bot]
f8bcc3ec17 [UI] Bug fix for build output forms (#10640) (#10642)
(cherry picked from commit 2187a77153)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-21 08:22:50 +11:00
Oliver
bc42450e0a Bump software version to 1.0.8 (#10635) 2025-10-20 16:26:26 +11:00
github-actions[bot]
fa698e7e2b Fixes for SITE_URL validity checks (#10619) (#10634)
* [docker] Allow HTTPS port to be specified for Caddy proxy

* Fix naming collision for INVENTREE_WEB_PORT

* Push InvenTree version first

* Adjust Caddyfile

- Change backup server

* Fix docstring

* Tweak for site URL check:

- Ignore port if SITE_LAX_PROTOCOL_CHECK is set
- Invert logic for readability

* Additional checks for port mismatch

* Adjust middleware checks

- Allow for less strict checking of CSRF_TRUSTED_ORIGINS

* Slight refactor

(cherry picked from commit f9ce9e20b2)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
1.0.7
2025-10-20 16:19:30 +11:00
github-actions[bot]
c59fd55a00 Setup: allow more python versions (#10615) (#10616)
* extend supported python versions

* bump max python

(cherry picked from commit 874be9920d)

Co-authored-by: Matthias Mair <code@mjmair.com>
2025-10-19 07:09:49 +11:00
github-actions[bot]
486e338b0b BOM updates (#10611) (#10612)
* BOM updates

- Allow variants of substititute parts to be allocated
- Closes https://github.com/inventree/InvenTree/issues/10606

* Check self.allow_variants

* Add comment

(cherry picked from commit a7c4f2adba)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-18 12:06:16 +11:00
Oliver
eb32546824 Bump software version to 1.0.7 (#10591) 2025-10-17 09:18:55 +11:00
github-actions[bot]
cc508a544c Dashboard item fix (#10596) (#10597)
* Fix for "subscribed categories" dashboard item

* Tweak filter display

* Tweak filter for "Subscribed Parts"

(cherry picked from commit 485aa6324c)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-16 23:17:11 +11:00
github-actions[bot]
c471a1cd38 Order labels (#10588) (#10590)
* Add label actions for build orders

* Support other order types

(cherry picked from commit e040d99665)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
1.0.6
2025-10-16 07:12:27 +11:00
github-actions[bot]
1249ae3a84 [UI] Fix broken dashboard link (#10577) (#10582)
Ref: https://github.com/inventree/inventree/issues/10548
(cherry picked from commit e0559bb2b4)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-14 12:07:24 +11:00
github-actions[bot]
4fe949811d [docs] Troubleshooting Guide (#10574) (#10575)
* [docs] troubleshooting guide

Adds a rough troubleshooting guide

* Add docs for showing docker logs

(cherry picked from commit 71b9373f44)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-13 19:45:01 +11:00
github-actions[bot]
afdb4090bf Fix missing closing </div> tag (#10572) (#10573)
(cherry picked from commit f9bdad975f)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-13 17:50:13 +11:00
github-actions[bot]
ae2cf931a5 [UI] Remove placeholder text (#10569) (#10570)
- Remove TODO entry
- Placeholder when adding external build order support

(cherry picked from commit a466926aef)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-13 14:26:22 +11:00
github-actions[bot]
6fa54c0e0e [UI] Fix stock actions (#10566) (#10568)
* Clear selected records when search term changes

* Clear selection after performing stock actions

(cherry picked from commit f22417fd1f)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-13 13:37:49 +11:00
github-actions[bot]
ff79ab87e5 [UI] About InvenTree Tweak (#10565) (#10567)
- Hide version entries without data

(cherry picked from commit ea868b3179)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-13 13:23:53 +11:00
github-actions[bot]
9fe290b01f [UI] Adjust login error messages (#10556) (#10564)
* Adjust config template

- Don't hard-code cookie mode into template
- Revert to the "default" values (which are the same)

* [ui] better feedback on login error

- Show error code, at least

* Revert removed code

* Adjust playwright tests

(cherry picked from commit 6badc0148f)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-13 12:31:31 +11:00
github-actions[bot]
a63fe64aa2 Installer docs (#10552) (#10563)
* Better formatting

* Tweak setup docs

* Add information on process control and logs

* Fix typo

* Change `cli` to `invoke`

* Update docs/docs/start/installer.md



* Update docs/docs/start/installer.md



* Remove available commands section from installer.md

Removed section on available commands for InvenTree services.

---------


(cherry picked from commit 30e91eb226)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-10-13 10:01:31 +11:00
github-actions[bot]
b6acbf0a48 fix(installer): make VERSION information accessible in invoke calls (#10558) (#10562)
* implement version loading in more contexts
closes #10554

* factor version file out

* ensure results do not contain new strings

(cherry picked from commit 6327707c0e)

Co-authored-by: Matthias Mair <code@mjmair.com>
2025-10-13 09:13:02 +11:00
github-actions[bot]
4a83b98cd9 Catch error during auto-migrations (#10553) (#10560)
- Prevent process interlock
- Prevent migration check if already running migrations

(cherry picked from commit 067cb1fccb)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-13 09:01:04 +11:00
github-actions[bot]
fe1cc56e94 Fix "override pricing" display (#10545) (#10547)
- Use specified currency values
- Closes #10537

(cherry picked from commit 4edbe9bab1)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-11 12:12:11 +11:00
github-actions[bot]
ef35591110 Update docs for running playwright tests (#10544) (#10546)
(cherry picked from commit 0dbb0306a5)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-11 10:53:44 +11:00
github-actions[bot]
df7817735d [UI] Prevent warning flash (#10540) (#10541)
* [UI] Prevent warning flash

- Display warning element after a delay

* Support no-javascript

(cherry picked from commit 1a171b5705)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-10 12:55:44 +11:00
Oliver
c3ea3a5566 Bump InvenTree software version to 1.0.6 (#10524) 2025-10-07 12:24:16 +11:00
github-actions[bot]
be3e2b4e01 feat(backend): Improve error message on INVE-7 (#10518) (#10523)
* feat(backend): Improve error message on INVE-7

* change wording

* fix test

* another fix

(cherry picked from commit 13845c69da)

Co-authored-by: Matthias Mair <code@mjmair.com>
1.0.5
2025-10-07 11:35:25 +11:00
github-actions[bot]
3fc2db6c3a fix: correct admin credential msg (#10521) (#10522)
* fix installers final message

* adjust text

(cherry picked from commit ac6028b871)

Co-authored-by: Matthias Mair <code@mjmair.com>
2025-10-07 11:25:15 +11:00
github-actions[bot]
79325c96d0 [docs] BOM import (#10517) (#10520)
- Add brief section about importing BOM data

(cherry picked from commit 492613952c)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-07 11:10:12 +11:00
github-actions[bot]
62425f1f3b fix: package distribution (#10515) (#10519)
* show warning text

* fix formatting

* try to gather site-url correctly

* protect envs that are set in the config

* raise issue if they appear

* prefer app setting over file config

* preserve setting if injected via envs

(cherry picked from commit c83a9b01ce)

Co-authored-by: Matthias Mair <code@mjmair.com>
2025-10-07 09:13:33 +11:00
Oliver
200c1dfe06 Bump software version to 1.0.5 (#10509) 2025-10-06 22:19:19 +11:00
Oliver
8c0b35ba69 Bump InvenTree software version to 1.0.4 (#10508) 1.0.4 2025-10-06 22:10:48 +11:00
github-actions[bot]
b1d0f3cb9e fix(backend): ensure internal notifications are created in a valid format (#10502) (#10506)
Closes #10435

(cherry picked from commit 96a5291766)

Co-authored-by: Matthias Mair <code@mjmair.com>
2025-10-06 22:10:26 +11:00
github-actions[bot]
555b72305c Update docs regarding INVENTREE_AUTO_UPDATE (#10505) (#10507)
(cherry picked from commit 363c5fd2c6)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
1.0.3
2025-10-06 22:07:56 +11:00
Matthias Mair
9819442697 bump contianer / dev dependencies too (#10472) (#10496)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-06 21:57:34 +11:00
github-actions[bot]
f901eec771 Fix rendering for custom status values (#10492) (#10494)
- Improve field lookup priority

(cherry picked from commit b370d54394)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-05 22:39:04 +11:00
github-actions[bot]
3044cee011 Tweak docker setup (#10490) (#10493)
- Set default forwarding values

(cherry picked from commit 946d4358c3)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-05 22:12:35 +11:00
github-actions[bot]
17be1fbb43 feat(ui/choice field): select old content on click, auto select first row (#10485) (#10491)
closes #10468, #10470

(cherry picked from commit 4635ea9443)

Co-authored-by: Hamza Ali <github+hhhapz@hamza.sh>
2025-10-05 20:00:08 +11:00
github-actions[bot]
d2aa15257b feat(backend): releax protocol check (#10454) (#10460)
* feat(backend): releax protocol check

* add changelog entry

* fix variable name

---------


(cherry picked from commit 7638092ab8)

Co-authored-by: Matthias Mair <code@mjmair.com>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-02 21:56:10 +10:00
github-actions[bot]
6ff28da48f chore(deps): bump django from 4.2.24 to 4.2.25 in /src/backend (#10448) (#10455)
* chore(deps): bump django from 4.2.24 to 4.2.25 in /src/backend

Bumps [django](https://github.com/django/django) from 4.2.24 to 4.2.25.
- [Commits](https://github.com/django/django/compare/4.2.24...4.2.25)

---
updated-dependencies:
- dependency-name: django
  dependency-version: 4.2.25
  dependency-type: direct:production
...



* fix style

---------




(cherry picked from commit b8b1fabc50)

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>
2025-10-02 20:43:23 +10:00
github-actions[bot]
bd62363b9a [UI] Fix total price for Purchase Order table (#10450) (#10452)
- Closes https://github.com/inventree/InvenTree/issues/10442

(cherry picked from commit bfd32c9864)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-02 11:41:24 +10:00
github-actions[bot]
acc85672e1 Improve printing actions (#10430) (#10432)
- Ensure correct items are specified

(cherry picked from commit 867cd24088)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-09-30 09:52:43 +10:00
Oliver
3e9fc94d63 Bump software version to 1.0.3 (#10425) 2025-09-29 15:22:52 +10:00
github-actions[bot]
1d2700fa6f [UI] Consume tracked (#10422) (#10424)
* Prevent manual consumption of tracked stock

* Prevent manual consuming of trackable items

(cherry picked from commit b0a60ed963)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
1.0.2
2025-09-29 14:01:43 +10:00
github-actions[bot]
9c170e6ed3 Fix locale formatting for calendar display (#10418) (#10420)
- Cannot accept underscore

(cherry picked from commit bcc386aecf)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-09-29 11:31:49 +10:00