Oliver
0ee2ee9ec2
Update sentry.io integration ( #12729 )
2026-08-28 16:36:28 +10:00
Oliver
2dca27f78b
Fix race condition for take_stock method ( #12718 )
2026-08-27 15:01:20 +10:00
Oliver
39f2d724aa
[UI] PO Receive bug ( #12709 )
...
* [UI] Fix for receiving items
* Add playwright regression test
2026-08-25 14:34:33 +10:00
Oliver
a6687a6b10
Bug fix for APISearchView ( #12707 )
...
The global search endpoint dispatches to viewset-based result types using a bare HttpRequest() with an empty META, so pagination's build_absolute_uri() crashes on the missing SERVER_NAME.
2026-08-25 11:57:00 +10:00
Oliver
176ef1af81
Fix table migration ( #12697 )
...
- Prevent error on MYSQL migration
2026-08-25 08:57:50 +10:00
Oliver
33586f6ea9
[bug] Fix broken build complete transition ( #12696 )
...
* Add regression test for build complete failure
* Handle offloading of complete_build
* Allow generic offloading of transitions to the background worker
* Refactor cancel_build method
* additional unit test
2026-08-24 23:40:07 +10:00
Oliver
e12bdcfb69
[UI] Data import for order lines ( #12692 )
...
* [UI] Data import for order lines
* Adjust playwright tests
2026-08-24 22:20:18 +10:00
Oliver
528bb085d7
User permissions check for Attachment API ( #12689 )
2026-08-23 18:53:33 +10:00
Oliver
f16fb36b08
Strip potentially dangerous tags from SVG files ( #12687 )
2026-08-23 18:50:13 +10:00
Oliver
bc98e4bab6
Auto-extract StatusCode values for docs ( #12686 )
...
* Auto-extract StatusCode values for docs
* Extract user roles from code
* Fix links
* Remove extraneous source code in docs
2026-08-23 18:48:05 +10:00
Oliver
669c2c0511
Add --traceback to invoke commands ( #12681 )
...
Provides better feedback in the case of failure
2026-08-22 15:00:39 +10:00
Oliver
a435738507
Fix 500 errors for transitions ( #12678 )
2026-08-22 00:51:51 +10:00
Oliver
dc059398b5
Additional API timeout for bulk operations ( #12676 )
2026-08-21 15:06:19 +10:00
Oliver
7fc36ac7bc
Drop legacy user session tables ( #12675 )
2026-08-21 15:05:45 +10:00
Oliver
af74f1abf6
Improve error handling for unit registry ( #12643 )
2026-08-16 11:46:40 +10:00
Oliver
4767edfe1b
[bug] Fix broken user setting ( #12638 )
...
- Closes https://github.com/inventree/InvenTree/issues/12637
2026-08-14 08:25:09 +10:00
Oliver
9844a4805e
Allow bulk-edit for ReturnOrderLineItem ( #12635 )
...
* Allow bulk-edit for ReturnOrderLineItem
- Allow bulk change of line item outcome
* Update API version documentation with pull request links
2026-08-13 20:10:10 +10:00
Oliver
695b9c1dc2
[bug] Fix ReturnOrder event registration ( #12633 )
2026-08-13 16:43:22 +10:00
Oliver
13540fceeb
Add docs for return order ( #12632 )
2026-08-13 14:44:27 +10:00
Oliver
2b3283d5d2
[bug] OptionalField race condition ( #12627 )
...
* [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
2026-08-12 16:38:04 +10:00
Oliver
77d8470141
[bug] Handle duplicate email addresses for magic links ( #12621 )
2026-08-11 23:49:53 +10:00
Oliver
ad8cb604e9
Bump version number for UI ( #12615 )
2026-08-11 13:16:26 +10:00
Oliver
11a48bffed
Update version for @inventreedb/ui ( #12611 )
...
* Update version for @inventreedb/ui
* Revert yarn.lock changes
2026-08-11 11:51:04 +10:00
Oliver
a3348248ac
[CI] Improve robustness for playwright test ( #12612 )
2026-08-11 11:50:53 +10:00
Oliver
1020ed3009
Fix for API exception_handler ( #12604 )
...
- Only log unhandled exceptions to sentry.io
- Check for valid handling first
- Report second
2026-08-10 23:23:07 +10:00
Oliver
e7503684d0
Bump version number to 1.6.0-rev ( #12603 )
...
* Bump version number to 1.6.0-rev
* Add release date
* Add next version entry
2026-08-10 21:58:40 +10:00
Oliver
1b20920e4a
[security] Additional SSRF protections ( #12595 )
...
Tighten SSRF protections when fetching from external URLs
2026-08-10 18:32:49 +10:00
Oliver
e55a6e78d2
[UI] Bulk Delete Enhancements ( #12601 )
...
* Add optional filtering for bulkDelete
* Enhanced pre-form content
2026-08-10 15:53:03 +10:00
Oliver
afcc89ecfb
Data import fix ( #12568 )
...
* Specify JSON encoder for data import fields
- Fixes encoding issues when importing from XLSX file
* Add regression test
* Fix faulty error handler
* Fix for unit test
2026-08-09 08:19:19 +10:00
Oliver
901dc024c0
[bug] Fix for plugin fetching ( #12590 )
...
- Prevent operation on stale plugin
2026-08-09 08:19:01 +10:00
Oliver and Matthias Mair
eb37082149
[docker] Include pip license file ( #12583 )
...
* [docker] Include pip license file
This file has been missing in production builds
* Add CI test
* Update contrib/container/Dockerfile
Co-authored-by: Matthias Mair <code@mjmair.com >
* Fix typo
* path fix
* More pathing fixes
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2026-08-09 07:27:15 +10:00
Oliver
bc150e09e8
[docs] Improve setup guide for non-standard hosting ( #12588 )
...
* [docs] Updated docs for complex server setups
Ref: https://github.com/inventree/InvenTree/discussions/12538
* Add FAQ entry
2026-08-09 07:26:56 +10:00
Oliver
61fe3c9ce5
[bug] Fix PartStocktakeSerializer ( #12587 )
...
Closes https://github.com/inventree/InvenTree/issues/12555
2026-08-09 07:26:37 +10:00
Oliver and Matthias Mair
94024ad23e
[bug] Validate location when completing build outputs ( #12570 )
...
* [bug] Validate location when completing build outputs
- Cannot be structural
* Fix unit test
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2026-08-08 23:27:53 +10:00
Oliver
c0ed42549f
[API] Restrict barcode scan history ( #12569 )
...
- A non-staff user can only view their own results
2026-08-08 21:56:47 +10:00
Oliver
28fea388f6
[bug] Handle deleted Part ( #12578 )
2026-08-08 21:56:25 +10:00
Oliver
6cdc21c308
[sentry] Do not report MethodNotAllowed ( #12584 )
2026-08-08 20:51:21 +10:00
Oliver
21819ebc78
Fix flaky test on sqlite ( #12582 )
2026-08-08 20:27:50 +10:00
Oliver
5c798f4237
[bug] Fix part duplicate checks ( #12574 )
...
* [bug] Fix part duplicate checks
* Additional unit tests
2026-08-08 19:11:46 +10:00
Oliver
cf2f64c83a
[bug] Fix getLogoImage helper ( #12577 )
...
* [bug] Fix getLogoImage helper
- Do not return a file:// URI
* cleanup code
2026-08-08 19:11:32 +10:00
Oliver
f1e6ec249d
[bug] Fix post-delete actions ( #12575 )
...
- Check that underlying part is still available
2026-08-08 17:58:21 +10:00
Oliver
9b5c69da26
[bug] excel encoding for data import ( #12576 )
...
- Handle different encoding types for excel import
- Fail cleanly if cannot read file
2026-08-08 17:58:01 +10:00
Oliver
fe82ff1f9e
[refactor] Improve efficiency of check_missing_pricing ( #12572 )
2026-08-08 17:17:20 +10:00
Oliver
66b95cde5b
[API] Handle AppRegistryNotReady ( #12571 )
...
Explicit handling for AppRegistryNotReady error
2026-08-08 16:11:30 +10:00
Oliver
358c464349
Barcode API bugs ( #12565 )
...
* Add explicit permission checks for barcode scanning
- Previous role_required attribute did not do anything
* Additional unit tests
2026-08-08 14:17:50 +10:00
Oliver
ad818889df
Deduplicate part pricing updates per session ( #12564 )
2026-08-08 12:27:32 +10:00
Oliver
badf7ab300
Handle missing part ( #12566 )
...
Part instance may have already been deleted in post_delete hook for related models.
2026-08-08 12:27:19 +10:00
Oliver
02ee7ca2a1
Fix permissions for group and RuleSet endpoints ( #12563 )
...
- Require StaffRole in addition to is_staff
2026-08-08 10:43:15 +10:00
Oliver
8998d835a4
[API] Optional field permissions ( #12529 )
...
* Add permissions check for OptionalField
* Adjust existing unit tests
* Add caching
* Additional tests
* Additional testing
* Add exclusions for owner and group models
* Bump CHANGELOG
* Detect demo branch based on software version
* Updated docstrings
2026-08-04 07:03:12 +12:00
Oliver
d024a3fe2f
Fix for N+1 issues in stock item serializing ( #12534 )
2026-08-01 20:35:11 +10:00
Oliver
175bfda22f
Demo ci check ( #12530 )
...
* Remove branch checking in workflow files
* Detect demo branch based on software version
* Fix typo
2026-08-01 14:53:43 +10:00
Oliver
7461486317
Robustify playwright test ( #12522 )
2026-07-31 17:45:14 +10:00
Oliver
bd1321c21f
Fix for TreeFieldComponent ( #12519 )
...
- Prevent deselect by clicking on same entry
- Updated playwright tests
2026-07-31 14:49:22 +10:00
Oliver
b50ad42a3e
Row locking for data import / update ( #12515 )
...
- Concurrency protection for data imports
2026-07-31 12:15:39 +10:00
Oliver
76a0005b61
Handle report error on missing svg data ( #12514 )
...
* Handle report error on missing svg data
* Add regression tests
2026-07-31 11:46:38 +10:00
Oliver
16639f35ac
Fix for data import "update" ( #12513 )
...
- Use partial update on serializer
- Mark other fields as not required (pk only)
2026-07-31 11:43:34 +10:00
Oliver
c08c7e8e53
Adjust demo-dataset for CI ( #12500 )
2026-07-29 18:02:05 +10:00
Oliver
4b9bea17de
remove errant test report ( #12496 )
2026-07-29 07:42:53 +10:00
Oliver
6dda125e5c
Concurrency fix for scheduled tasks ( #12493 )
...
- Prevent multiple instances of scheduled tasks from plugins
2026-07-29 00:22:19 +10:00
Oliver
73c0bb9603
Improve validation for import session ( #12492 )
...
- Ensure that validated data is a dict shape
2026-07-28 23:50:44 +10:00
Oliver
e918d84f60
Token save fix ( #12491 )
...
- Only update 'last_seen' field
2026-07-28 23:50:34 +10:00
Oliver
e6d1ceb20b
Filtering for report snippets ( #12487 )
...
* Filtering for report snippets
* Bump API version
2026-07-28 22:52:54 +10:00
Oliver
1cee1bdefb
[API] Refactor stock adjustment endpoints ( #12488 )
2026-07-28 18:49:32 +10:00
Oliver
45f3810a8b
Build output serial number docs ( #12486 )
...
* Remove serial number restriction when creating build outputs
* Updated docs
* additional docs
2026-07-28 18:49:14 +10:00
Oliver
6302748ec8
[bug] Unique constraint for serial numbers ( #12483 )
...
* Unique constraint for serial numbers
* Revert unrelated changes
* Updated tests
2026-07-28 16:30:32 +10:00
Oliver
4a8ee54ee7
[bug] Fix concurrency issues for allocation ( #12478 )
...
* Fix concurrency issues for allocation
* Remove duplicate atomic call
* Reduce query count
2026-07-28 12:37:01 +10:00
Oliver
b33dda76d3
Refactor sales order methods: ( #12477 )
...
- Cancel sales order
- Assign serial numbers
2026-07-27 17:37:14 +10:00
Oliver
2bb8672dc4
[UI] Display all error table field error messages ( #12456 )
...
* Display all error table field error messages
* Adjust playwright test
2026-07-27 17:27:34 +10:00
Oliver
eb5138127b
[UI] Add search result preview ( #12475 )
...
* [UI] Add search result preview
* Updated search docs
2026-07-27 16:02:33 +10:00
Oliver
35f2f1aab6
On order filter ( #12476 )
...
* Add "on order" filter for Part model
- Added API filter
- Added table filter
- Added table column
* Bump API version
* Add table sorting
* Adjust API text
2026-07-27 13:01:56 +10:00
Oliver
b5abf47115
Offfload email notification ( #12470 )
...
* Offfload email notification
* Run email sync in testing
2026-07-27 10:56:05 +10:00
Oliver
b7d65d754b
Fix part SalesOrder table ( #12469 )
...
* Fix part SalesOrder table
- Show line item quantity, not number of lines
* add regression test
* Bump API version
2026-07-26 21:38:41 +10:00
Oliver
1bc758624e
Add order sorting for sales order allocation tables ( #12468 )
2026-07-26 18:49:44 +10:00
Oliver
145ef21196
[refactor] Build allocation endpoints ( #12361 )
...
* Create benchmark for completing a build and consuming all items
* Refactor build consume task
* Add benchmarking
* Unroll allocate-stock serializer
* Complete build only after allocations are consumed
* re-export batch_events
* Add BulkPrefetchSerializerMixin
* Reduce queries even further
* Refactoring
* Unroll code and use bulk operations
* Refactoring for auto-allocation
* Add more test coverage for auto-allocation
* Fix model_reference_fields
* adjust unit test
* Apply concurrency protection
* Additional unit tests
* Remove per-line validation
* Fix unit test
* Adjust unit test
* Use bulk_create_and_fetch
* Cleanup
* Reimplement wrapper func for backwards compatibility
* Fix unit test
* Increase max query time
* Fix serializer
* Enforce pk ordering
* FIx for mysql
2026-07-24 19:48:50 +10:00
Oliver
7d8b3ff160
Bug fix for exporting SalesOrderAllocation data ( #12463 )
...
* Bug fix for exporting SalesOrderAllocation data
* Regression test
* Bump API version
* Bug fix for unit test
2026-07-24 15:38:14 +10:00
Oliver
6bd4842fd8
[bug] Attachment str fix ( #12461 )
...
* Fix stringify for Attachment model
* Add regression tests
2026-07-24 12:30:40 +10:00
Oliver and Matthias Mair
bda2534ed3
[refactor] Complete shipment API endpoint ( #12363 )
...
* Use API for unit test
* Loop unrolling is super effective
* Additional unit testing
* Fix for bulk_create - use bulk_create_and_fetch
* Fix unit tests
* Fix unit tests
* Adjust unit test
* Revert return type on helper func
* Evaluate returned QuerySet
* Adjust unit tests
* Adjust complete_allocations
* Fix for bulk_create in unit test
* Reimplement complete_allocation for compatibility
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2026-07-24 10:22:22 +10:00
Oliver
829a4462c7
[bug] BOM checksum fix ( #12455 )
...
* Enforce ordering of BOM items
* Add prefetch to getRequiredParts
* Add regression test
2026-07-23 21:44:04 +10:00
Oliver
65efa51524
[docs] Report discovery ( #12449 )
...
* Adds decorator to mark an attribute for report context discovery
* Update context variables in docs
* Include fields captured against each model type
* Expose more properties
* Image URL tags
* Add more attributes
* Rearrange docs
* Simplify docs
* Enforce type hinting for reportable properties
* Expose more properties for the Order model
* Auto-discover related / linked models
* Remove extra text
* Collapsible blocks
* Reduce boilerplate
* Remove cruft
* Enhance documentation for filename generation
* Cleanup
2026-07-23 21:43:55 +10:00
Oliver
8b009e8d9f
Locking fixes ( #12435 )
...
* Secure row locks when trimming allocated stock
* Secure row locks when completing a SalesOrder
* Regression testing
* Further improvements and regression testing
* Ignore locking test for sqlite
2026-07-21 16:17:56 +10:00
Oliver
4739d59c0b
[bug] Bom table fix ( #12436 )
...
* Fix logic for table context menu
* Memoize handleCellContextMenu
2026-07-21 16:12:00 +10:00
Oliver
7973057ad9
Improve request caching for plugin config objects ( #12430 )
...
* Improve request caching for plugin config objects
* Cache configs dict further
2026-07-21 10:23:50 +10:00
Oliver
4c4c86e180
[feature] Line discount ( #12393 )
...
* Add "discount" support to order line items
* Fix total_price annotation for ExtraLineItem
* Add regression tests
* Add frontend support
* Updated documentation
* Added docs
* Bump API version and CHANGELOG
* Remove 'total_price' annotation
- Can be achieved using in-memory python methods
* Apply fix for migration testing
* Revert "Apply fix for migration testing"
This reverts commit 8d9f2dce8c .
* Different approach
* Adjust playwright threshold
2026-07-20 20:42:54 +10:00
Oliver
b52980d2ed
[UI] Display error information in boundary ( #12403 )
...
* Display error information in boundary
* Fix SecurityContext
2026-07-16 15:36:09 +10:00
Oliver
5422896288
Bulk create events ( #12405 )
...
* Add initial benchmark test
* Enable event batching for BulkdCreate API mixin
* Fix duplicate save event for Parameter
* Apply event batching for bulk_update
* Similar testing for bulk_delete
2026-07-16 14:24:00 +10:00
Oliver
a09479665a
prevent duplicate save event when creating a part ( #12406 )
2026-07-16 14:23:44 +10:00
Oliver
3fd0e9d304
Bulk delete line items ( #12391 )
...
* Add bulk-delete mixin for order line items
* Add unit tests
* Enable frontend support
* Add CHANGELOG entry
* Add locking control for TransferOrder
* Fix playwright tests
* Fix playwright tests
2026-07-16 11:55:34 +10:00
Oliver
8407f63656
[bug] Tree parent fix ( #12401 )
...
* Refactor
* row locking on bulk-update
* Rebuild tree in background task
* Regression testing
* Fix unit test
* Allow more generous timeout
2026-07-16 10:05:01 +10:00
Oliver
70749ed93c
Fix StockItem parent update on delete ( #12377 )
...
* Fix StockItem parent update on delete
* Check for null parents
2026-07-14 16:29:30 +10:00
Oliver
afbe3b3ab9
Bug fixes ( #12365 )
...
* Bug fixes:
- Enforce serial number requirements when receiving items
- Stricter merge checking
- Fix count-into-location bug
- Unit testing
* Additional unit tests
2026-07-14 16:00:26 +10:00
Oliver
61dcc04205
[feature] Unique parameters ( #12388 )
...
* Add uniqueness requirement for parameter values
* Add documentation
* Do not copy unique parameters
* Updated playwright tests
* Enhanced validation checks for uniqueness
* Update documentation
* Update CHANGELOG
* Bump API version
2026-07-14 14:34:17 +10:00
Oliver
183e6c37b1
Fix for BuildItem with zero quantity ( #12387 )
2026-07-14 12:41:40 +10:00
Oliver
2b25a46eaa
Prevent duplication completion of ReturnOrder ( #12386 )
2026-07-14 12:06:53 +10:00
Oliver
fcc68ee69f
Apply row-level locking when updating stock item quantity ( #12385 )
2026-07-14 12:02:02 +10:00
Oliver
6be654954e
[refactor] SalesOrder allocation fixes ( #12379 )
...
* Use API for unit test
* Refactor SalesOrderSerialAllocationSerializer
- Move business logic into the SalesOrder model
* Add unit testing for serial allocation
2026-07-14 10:34:54 +10:00
Oliver
d9b9a87893
[bug] Quantity fixes ( #12375 )
...
- Ensure valid quantity values on stock operations
- Regression testing
2026-07-14 10:25:27 +10:00
Oliver
b64182b565
Uninstall fix ( #12378 )
...
* Prevent uninstall into structural location
* Regression tests
2026-07-13 20:21:56 +10:00
Oliver
a12fd546ff
use new helper func ( #12373 )
2026-07-13 18:54:10 +10:00
Oliver
431a6e49a0
fix concurrent update issues ( #12380 )
...
- Ensure database values are used for delta updates
- Regression tests
2026-07-13 18:53:18 +10:00
Oliver
dd05611ea4
Hardening build outputs ( #12376 )
...
- ensure outputs cannot be double completed
2026-07-13 18:53:07 +10:00