2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-03-11 22:54:17 +00:00

17246 Commits

Author SHA1 Message Date
Matthias Mair
aa934214da chore(backend): fix stable batch vulns (#11295)
* bump deps

* bump image

* revert image change

---------

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
1.1.12
2026-02-12 13:02:31 +11:00
Matthias Mair
229c446cea bump django due to... all the releases vulns (#11265) (#11294)
(cherry picked from commit 232cc08ddc)
2026-02-12 09:51:34 +11:00
Oliver
dc4a0ed001 Bump software version to 1.1.12 (#11273) 2026-02-10 11:30:03 +11:00
github-actions[bot]
45fcd52a77 change role for allocation table multiselect (#11264) (#11272)
(cherry picked from commit 026011131e)

Co-authored-by: Jacob Felknor <jacobfelknor073@gmail.com>
2026-02-10 09:57:37 +11:00
github-actions[bot]
0f45e3e1e9 refactor(backend): SSO registration cleanup (#11239) (#11241)
* add more debugging and remove possible problematic inheritance

* remove unused functions

* remove extra conversion

* ensure cirrect type is used

---------


(cherry picked from commit e6077565c5)

Co-authored-by: Matthias Mair <code@mjmair.com>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
1.1.11
2026-02-02 21:29:13 +11:00
github-actions[bot]
e3fcb83dc9 [UI] Bug fix for test result table (#11236) (#11237)
* [UI] Bug fix for test result table

- Do not retain test choices when selecting a new test

* Remove quick-pass action if test has defined choices

(cherry picked from commit 94be4ebb26)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-02-01 22:02:06 +11:00
github-actions[bot]
704c77ff61 [UI] Fix datetime field (#11229) (#11233)
* [UI] Fix datetime field

- Fixes bug in UI which prevented "datetime" fields from working
- Specifically, the "time" portion was removed and set to 00:00

* Display seconds

(cherry picked from commit 26ba24374e)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-02-01 20:28:47 +11:00
Oliver
41859291fd Bump software version to 1.1.11 (#11194) 2026-01-23 00:44:30 +11:00
github-actions[bot]
3ad9322daa fix (backend): finer grained registration control for Single Sign On (#11190) (#11192)
* finer grained registration control for Single Sign On
Fixes #11162

* fix for python 3.11

(cherry picked from commit 060e917fc9)

Co-authored-by: Matthias Mair <code@mjmair.com>
1.1.10
2026-01-23 00:09:04 +11:00
github-actions[bot]
ec8c2d0964 [UI] Fix broken links (#11189) (#11191)
(cherry picked from commit ec2bf23627)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-01-22 21:39:38 +11:00
github-actions[bot]
9256a88630 [bug] Fix "can_build" quantity (#11185) (#11188)
- Ignore virtual parts when considering "can_build" quantity
- Closes https://github.com/inventree/InvenTree/issues/11182

(cherry picked from commit 64acdd6ccf)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-01-22 12:17:45 +11:00
github-actions[bot]
9c1ee69325 Stock status fix (#11183) (#11186)
* Fill in default value

* Ensure status values are converted to integer in set_status

* Updated unit testing

* Additional unit testing

(cherry picked from commit 00c36e9366)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-01-22 11:48:07 +11:00
Oliver
6156975789 Bump software version to 1.1.10 (#11169) 2026-01-21 09:47:04 +11:00
github-actions[bot]
5fbc178abf bump pyasn1 (#11163) (#11168)
https://github.com/inventree/InvenTree/security/dependabot/292
(cherry picked from commit 98a5919a94)

Co-authored-by: Matthias Mair <code@mjmair.com>
2026-01-20 07:52:44 +11:00
github-actions[bot]
73c4f884c3 fix(auth): Use correct data for SSO group sync (#11164) (#11167)
https://docs.allauth.org/en/latest/release-notes/recent.html#id18
Since django-allauth 65.11.0 (InvenTree v1.1.X), the extra_data
is divided into separate userinfo and id_token objects

(cherry picked from commit 2b091832d0)

Co-authored-by: Philipp Fruck <dev@p-fruck.de>
1.1.9
2026-01-20 07:50:47 +11:00
Oliver
db7c133eff Bump software version to 1.1.9 (#11154) 2026-01-17 23:23:42 +11:00
github-actions[bot]
351278316a [UI] Fix "Owner" detail badge using wrong id (#11144) (#11150)
(cherry picked from commit bd519487e5)

Co-authored-by: Gustaf Järgren <gurreja@gmail.com>
1.1.8
2026-01-17 16:02:37 +11:00
github-actions[bot]
bd2d6036bf feat(backend): enable reseting mfa via username from the cli (#11133) (#11136)
* feat(backend): enable reseting mfa via username

* fix tests

* extend testing saveguards to username cli

(cherry picked from commit 07e1a72261)

Co-authored-by: Matthias Mair <code@mjmair.com>
2026-01-14 22:11:35 +11:00
github-actions[bot]
9970b0f5c7 [bug] build output stock status (#11126) (#11127)
- Ensure custom status is correctly set when completing build output
- Closes https://github.com/inventree/InvenTree/issues/11119

(cherry picked from commit 372b19e5cd)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-01-13 18:51:19 +11:00
github-actions[bot]
87f5900bed BuildItem quantity fix (#11108) (#11110)
* Refactor clean check for BuildItem

* Don't raise an error when saving a BuildItem

* Fix order of operations

* remove debug statements

(cherry picked from commit 70fcaa7808)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-01-09 18:59:45 +11:00
github-actions[bot]
c174cf12a5 Tweak for auto allocation (#11106) (#11107)
- Ensure only stock for "active" parts is considered
- Cleaner logic

(cherry picked from commit 02a95ffba8)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-01-09 15:07:23 +11:00
Oliver
b1fcfc0f67 Bug fix for stock entry calculation (#11103) (#11105)
- Additional unit testing
2026-01-09 13:22:42 +11:00
github-actions[bot]
47f386e39a change screenshot for plugin install to PUI (#11036) (#11037)
* change screenshot for plugin install to PUI

* Correct location of gunicorn config in docs

(cherry picked from commit 00091caf04)

Co-authored-by: Michael <michael@buchmann.ruhr>
2025-12-18 10:51:53 +11:00
Oliver
700d49643d Bump InvenTree software version to 1.1.8 (#11028) 2025-12-17 08:45:11 +11:00
Oliver
2f9cf5f1f1 Default Supplier Support Missing in 1.X.X (#10980) (#11027)
Fixes #10979

Co-authored-by: Matthias Mair <code@mjmair.com>
1.1.7
2025-12-17 08:44:27 +11:00
github-actions[bot]
3eb6f12570 Fix for string form fields (#10814) (#10968)
* Fix for string form fields

- replace null values with empty strings

* Expose more serializer metadata

* Check if null values are not allowed

* Fix type

* Try removing feature

* Reduce deltas

* Remove extra field attrs entirely (for testing)

* Comment out changes

* Tweak form values

* Fix for form validation

(cherry picked from commit efc8fb816d)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-12-07 00:14:58 +11:00
github-actions[bot]
afc1dad8a7 Obvserve default values for part forms (#10964) (#10965)
- Closes https://github.com/inventree/InvenTree/issues/10909
- Use global setting values as defaults

(cherry picked from commit 3a18934b83)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-12-06 20:28:22 +11:00
github-actions[bot]
66b71c1f2e Fixed typo in shebang interpreter directive (#10952) (#10953)
(cherry picked from commit 2ffc2cb9fc)

Co-authored-by: Tyler Tracy <tylertracy@gmail.com>
2025-12-04 12:10:09 +11:00
github-actions[bot]
1a8287824b Allow null values for InvenTreeDecimalField (#10948) (#10951)
- Fixes bug related to importing null "rounding_multiple" BOM field

(cherry picked from commit 7920b0e670)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-12-04 07:15:38 +11:00
github-actions[bot]
10769ccb04 [bug] Handle TransactionManagementError (#10942) (#10943)
In the case where we try to call refresh_from_db within an atomic transaction block, it will throw a TransactionManagementError

(cherry picked from commit 38b27271ac)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-12-02 17:23:09 +11:00
Oliver
f39b3190e3 Bump software version to 1.1.7 (#10916) 2025-11-26 23:40:40 +11:00
github-actions[bot]
e1a97b2a39 [bug] Stock adjust (#10914) (#10915)
* Extra checks on backend

* Bug fix for adjustment forms

- Set default quantity of zero

* Additional unit testing (to ensure no regression)

(cherry picked from commit 5713cff1cb)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
1.1.6
2025-11-26 22:41:36 +11:00
github-actions[bot]
c9a1d9adda Installer missing some required packages from REQS (#10897) (#10898)
Fixes #10813

(cherry picked from commit fcea1383d0)

Co-authored-by: Matthias Mair <code@mjmair.com>
2025-11-24 09:22:53 +11:00
Oliver
64fb5c062a Bump software version to 1.1.6 (#10890) 2025-11-22 22:18:41 +11:00
github-actions[bot]
c09fb48eff [UI] Fix for PartTestResultTable (#10886) (#10889)
* [UI] Fix for PartTestResultTable

- Filter properly by part instance

* Add a simple unit test

* Tweak unit test

(cherry picked from commit e590522909)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
1.1.5
2025-11-22 18:02:15 +11:00
Oliver
64a4ac81f2 Bump software version to 1.1.5 (#10884) 2025-11-22 15:47:37 +11:00
Oliver
488a818629 Import fix for UI (#10885) 2025-11-22 14:27:08 +11:00
github-actions[bot]
295c4f3e5d [bug] Serialize location (#10882) (#10883)
* Properly set location id when serializing stock

* Add correct tracking entries

* Add unit test

(cherry picked from commit a7ff1250ba)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
1.1.4
2025-11-22 13:44:48 +11:00
github-actions[bot]
c6ecd019dc [UI] Delete stock fix (#10868) (#10869)
* Add helper func getOverviewUrl

* Redirect to parent page when stock item is counted to zero

(cherry picked from commit 468efbacfc)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-11-20 06:48:45 +11:00
github-actions[bot]
005d9850b8 Fix for shipping virtual parts (#10853) (#10864)
* Additional checks for virtual parts in sales order process

* Prevent allocation against virtual parts

* Fix order of operations

* Adjust part form fields based on selections

* Prevent order locking

* Updated playwright tests

* Add unit test

(cherry picked from commit 7b38fa30bb)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-11-19 15:49:38 +11:00
github-actions[bot]
a585f5407a Bug fix for sales order pricing (#10858) (#10863)
* Bug fix for sales order pricing

- Clear sale price field if no pricing

* Adjust playwright tests

(cherry picked from commit d06d80fb99)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-11-19 15:12:16 +11:00
github-actions[bot]
974a7d5510 [UI] Remove duplicate action (#10844) (#10845)
- "Build Output" is same as "stock item" in this case

(cherry picked from commit 57a2de6ffc)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-11-17 19:58:54 +11:00
github-actions[bot]
39623ddf98 [UI] Fix for form OPTIONS query (#10840) (#10843)
* [UI] Fix for form OPTIONS query

- Fetch OPTIONs each time form is opened
- Ensure default values are filled correctly
- Prevent issues with latching form state

* Add comment

* Add playwright test

- Check that the reference field increments properly

* Fix other Playwright tests

(cherry picked from commit 770f7a292e)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-11-16 22:07:59 +11:00
github-actions[bot]
1890589a43 [bug] State change fixes (#10832) (#10839)
* Fix for setting custom status

* Fix for setting custom status when receiving stock items

* Allow caching for set_status

* Updated code and unit tests

(cherry picked from commit aa9958bf11)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-11-15 08:01:21 +11:00
github-actions[bot]
8cbce3f335 Char fix (#10827) (#10830)
* Remove debouncing from text field

* Add debounce to data import field

* Only apply for strings values

* Fix unit test

* More unit test tweaks

(cherry picked from commit ba9b5438b4)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-11-14 17:53:27 +11:00
github-actions[bot]
56f09e1aa6 Bug fix for loading boolean settings (#10826) (#10828)
- Do not just cast to bool
- The string "False" casts to True in this case
- Use the function that supports strings

(cherry picked from commit 8cb808f613)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-11-14 08:27:42 +11:00
Oliver
a1a2a47bba Bug fix for pack quantity display (#10810) 2025-11-12 00:45:44 +11:00
github-actions[bot]
e2eeaa991d PO receive fix (#10807) (#10808)
* Extract note field when receiving stock items against PO

* Fix tracking entry when receiving item

(cherry picked from commit f3c1cc12af)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-11-11 21:15:13 +11:00
github-actions[bot]
4bb1354b68 Fix for pricing display (#10804) (#10805)
(cherry picked from commit 77f80385c9)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-11-11 16:27:24 +11:00
Matthias Mair
68e3216b7b [1.1.x] fix(backend): auth check middleware for specific media access (#10784) (#10795)
* fix(backend): auth check middleware for specific media access (#10784)

* simplify

* fix return type

* handle token (app access)

* reduce lookup amount

* add positive test again

* add poisitive test

* move out settings

* add tests for Check2FAMiddleware

* add test for auth_request

* add a reverse name for auth_request

* auth tests refactors

* move test

* disable check for things that do not trigger

* fix typing for python 3.9

* make names clearer and add comments

* finish tests

* fix call

* re-enable mfa test without the timing component

* cleanup helper

* ignore easy out

* ignore scenario that can not happen

(cherry picked from commit f3e8482469)

* fix merge
2025-11-10 09:52:30 +11:00