Commit Graph
1572 Commits
Author SHA1 Message Date
github-actions[bot] 77ddc49b3a New Crowdin translations by GitHub Action (#12284)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-07 10:52:00 +10:00
Oliver Walters fedcf9e8b1 Manual cleaning update 2026-07-06 12:51:49 +00:00
Oliver ed62b5d9dd Pricing bugs (#12305)
* bug fix for get_price method

- Remove unused argument moq
- Allow case where 'multiples' = False

* Error handling for convert_to

* Error handling for PartPricing.save

* Remove unused function

* Revert function definition

* coverage ignore
2026-07-06 22:09:12 +10:00
Oliver Walters fa5cc1c90d Fix migration order 2026-07-06 11:29:13 +00:00
Oliver Walters c447f89f15 Merge commit 'e6a12564f3c5b5de8f2c6ac11911348102ff016d' into block-notes 2026-07-06 11:27:42 +00:00
OliverandMatthias Mair e6a12564f3 [feature] Consumable part (#12295)
* Add "consumable" field to the Part model

* Add frontend integration

* Add badge

* Add docs

* Updated docs

* Add API filtering for new field

* Adjust API filters

* Update backend logic

* Adjust frontend

* Additional unit tests

* Update API version

* update test

* Add consumable icon

---------

Co-authored-by: Matthias Mair <code@mjmair.com>
2026-07-06 21:12:24 +10:00
Oliver Walters f6e6b8a6bb Remove defunct tests 2026-07-06 10:37:23 +00:00
Oliver Walters cf1d9eb90b Update unit tests 2026-07-05 10:47:07 +00:00
Oliver Walters ccc68f19a1 Fix api_version 2026-07-05 10:39:15 +00:00
Oliver Walters 1e293b360f Bug fix for receiving stock items 2026-07-05 09:17:39 +00:00
Oliver Walters 77114caa02 Fix import 2026-07-04 14:25:01 +00:00
Oliver Walters 427eb6d4b3 Implement duplicate action for stock item 2026-07-04 14:18:46 +00:00
Oliver Walters 592a4ab357 Fix migration conflicts 2026-07-04 12:40:27 +00:00
Oliver Walters c86f36e555 Merge commit '5df2adae6da3eba4fe7b7df1d8515a689f940e60' into block-notes 2026-07-04 12:37:40 +00:00
Miklós MártonandMatthias Mair 5df2adae6d Fix OpenAPI multipart file fields to use binary format (#12298)
* Fix OpenAPI multipart file fields to use binary format

Fixes #11246

* Update API version

* fix api version

---------

Co-authored-by: Matthias Mair <code@mjmair.com>
2026-07-04 07:58:53 +10:00
Oliver f93c813bb4 [db] Fix for UUID fields (#12301) 2026-07-04 07:57:55 +10:00
Oliver Walters f4ae4a415f frontend UI elements 2026-07-03 15:01:25 +00:00
Oliver Walters 18ea4b51e5 implement note duplication serializers 2026-07-03 14:56:21 +00:00
Oliver Walters fa447473d3 Merge branch 'block-notes' of github.com:SchrodingersGat/InvenTree into block-notes 2026-07-03 14:12:33 +00:00
Oliver Walters 0fe49796f6 Add unit tests for data migrations 2026-07-03 14:11:49 +00:00
Oliver Walters fc5fbdeb89 Add 'copy_note' option to duplicate serializer 2026-07-03 14:08:58 +00:00
Oliver Walters 1c4f865b9f Merge commit '4895fbc9fed2c7df28729e3b38929fc26f767ae9' into block-notes 2026-07-03 10:51:02 +00:00
Oliver 15c64d6695 [API] Refactor API for duplicating objects (#12294)
* Implement generic serializer for custom model duplication

* Apply pattern to BuildOrder

* Add more generic options

* Bump API version

* Adjust default option

* Refactor existing implementations

* Dynamic class typing

* Add duplicate field to more model types

- Company
- ManufacturerPart
- SupplierPart
- SalesOrderShipment

* Implement parameter duplication for more models:

- Company
- ManufacturerPart
- SupplierPart

* Simplify code

* Refactor
2026-07-03 18:04:59 +10:00
Matthias Mair 5595a0a52b fix test assumption (#12296) 2026-07-03 16:46:06 +10:00
Oliver Walters eab023d2f1 Add unit test for note duplication 2026-07-02 10:22:26 +00:00
Oliver Walters 51988d2172 Duplicate embedded images when copying notes 2026-07-02 10:18:17 +00:00
Oliver Walters 63e23bd766 APi unit tests for note permissions 2026-07-02 09:22:43 +00:00
Oliver Walters f89b6088cb Restrict queryset based on user view permissions 2026-07-01 14:18:19 +00:00
Oliver Walters 6fb4bdd206 Fix migrations 2026-07-01 13:57:02 +00:00
Oliver Walters 0db3dd5512 Merge commit '6865b0b6e6ed5464c25b4ccca7e3c523ce1876c5' into block-notes 2026-07-01 13:52:25 +00:00
Oliver 609e5ee105 Check build complete (#12289)
* Display non-field errors in table field

* Refactor validation for build output completion

- Run validation BEFORE trying to complete (serializer validation)
- Refactor and simplify common code

* Adjust unit tests

* Fix typing

* Remove debug
2026-07-01 16:47:33 +10:00
Oliver 09f85aeae9 [UI] Tree select in form fields (#12217)
* Add TreeField component

* Add chevrons in dropdown menu

* Custom node rendering

* Add childIdentifier

* Ensure full value gets displayed

* Fix for search results

* Refactor old renderers

* Override field types

* use definition filters

* Better location validation messages

* Tweaks

* Fix unit test

* Include icon

* Fix playwright test

* Fix call to onValueChange

* Updated playwright tests

* Use pathstring in selectedLabel (if available)

* Mark structural nodes

* Retain selected value when dropdown open

* Add better placeholder values

* Simplify field selection
2026-06-30 22:59:04 +10:00
github-actions[bot] 7a81aa216f New Crowdin translations by GitHub Action (#12251)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-30 22:27:02 +10:00
Oliver cc6dc60640 Merge branch 'master' into block-notes 2026-06-30 21:12:33 +10:00
Oliver fb280d80e7 Fix for STOCK_COUNT event (#12281)
* Fix for STOCK_COUNT event

- Prevent double emission of event type string

* adjust unit test
2026-06-30 18:54:35 +10:00
Oliver 414aac0224 Fix stocktake bug for counting serialized items (#12280)
* Fix stocktake bug for counting serialized items

* Add unit test
2026-06-30 15:39:05 +10:00
Oliver Walters f4963432f0 Merge commit '12825aa1f4f6b47fabc47dda980d74df50d7dad4' into block-notes 2026-06-29 12:57:29 +00:00
Matthias Mair 56679e4b31 chore(backend): dep bump (#12258)
* general deps bump

* cleanup other dep files
2026-06-26 09:56:01 +10:00
Matthias Mair 8f73d9291b chore(backend): typing fixes (#12247)
* 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

* ignore __class__ type checking errors
see https://github.com/astral-sh/ty/issues/3122

* fix exception logging

* update ignoring

* bump ty further

* add cleanup cmd

* Merge branch 'master' of https://github.com/inventree/InvenTree into typechecking-remove-ignore

* bump ty

* remove now unused class ignores
2026-06-26 08:04:36 +10:00
Oliver e847d96a88 Bug fix for exception handler (#12257) 2026-06-26 08:02:38 +10:00
Oliver 39b74c7e87 Skip "many" fields in DataExport (#12255)
- Exporting multi-dimensional datasets requires a custom exporter
2026-06-25 22:44:32 +10:00
Oliver Walters 1e6af4da57 Merge commit 'e5fa67ca9f021c14e9340619fe4a807f0c012ae2' into block-notes 2026-06-25 05:11:04 +00:00
Oliver e5fa67ca9f Project code active (#12250)
* Add 'active' field to the ProjectCode model

- Allows retiring of old project codes without deleting

* Update UI table

* Refactor ProjectCodeField

* Add unit test

* Bump API version and CHANGELOG
2026-06-25 14:26:53 +10:00
Oliver Walters e6b86fbae1 asfd 2026-06-25 02:22:03 +00:00
github-actions[bot] d1f91e8b4e New Crowdin translations by GitHub Action (#12238)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-25 10:51:57 +10:00
Neil BeukesandMatthias Mair 4cfefc18c1 Allow stock transfer to merge into existing stock (optional) #6951 (#12022)
* working on merge transfer

* fix history when merging

* update messaging, add 'added' line in history

* reworked history logic

* removed old transfer logic

* remove formatting changes from vite file

* Bumped API version, added entry in docs for new global setting

* removed the tracking item overwrite, Use existing tracking event from transfer

* run pre-commit checks

---------

Co-authored-by: Matthias Mair <code@mjmair.com>
2026-06-25 00:24:33 +10:00
Oliver 44e42f34e4 Merge branch 'master' into block-notes 2026-06-24 22:13:08 +10:00
Matthias Mair de736ee5de !feat(backend): bump minimum python version (#12223)
* bump ci versions

* bump installer version

* bump tooling version ref

* bump doc refs

* bump / refactor code refs

* bump debug ref

* remove now unneeded deps

* bump release version

* remove distutils

* fix finder call

* remove old compat code

* add changelog entry

* lower cov target for now
2026-06-24 17:42:35 +10:00
Oliver 09f11a27d9 [report] Tweak datamatrix helper (#12240)
* [report] Tweak datamatrix helper

- Add support for "rectangular" display
- Support different image output formats

* Fix unit tests
2026-06-24 17:42:32 +10:00
Oliver 7e59c92422 1.5.0 (#12239)
* Add release entry for 1.4.0

* Add blank entry for 1.5.0

* Bump version to 1.5.0 dev
2026-06-24 13:53:58 +10:00