Oliver Walters
894e4d2fb5
Remove old model type
2025-11-26 01:15:56 +00:00
Oliver Walters
2ddd26b70e
Table tweaks
2025-11-26 01:04:55 +00:00
Oliver Walters
2bca07c0ef
Add parameteric build order table
2025-11-26 00:41:32 +00:00
Oliver Walters
e95a138152
Use branch of demo dataset for testing
2025-11-26 00:32:33 +00:00
Oliver Walters
2478b08a60
Fix for Category Parameters
2025-11-26 00:27:14 +00:00
Oliver Walters
b39c42dfba
Merge branch 'generic-parameters' of github.com:SchrodingersGat/InvenTree into generic-parameters
2025-11-26 00:19:06 +00:00
Oliver Walters
661b62f578
tweak table
2025-11-26 00:19:00 +00:00
Oliver Walters
e3f1649ed0
Fixes for data migration
2025-11-26 00:15:03 +00:00
Oliver Walters
1b9744016b
Adjust migration dependencies
2025-11-25 22:45:34 +00:00
Oliver Walters
32cf36f3d9
Try using ID val
2025-11-25 12:23:50 +00:00
Oliver Walters
f9389d7005
Update migration
2025-11-25 11:15:23 +00:00
Oliver Walters
ed431b1acd
Require contenttypes to be updated
2025-11-25 11:13:27 +00:00
Oliver Walters
c53229182e
Add migration requirement
2025-11-25 11:08:44 +00:00
Oliver Walters
dddc984ca4
Remove defunct endpoints
2025-11-25 10:47:48 +00:00
Oliver Walters
1d1fde6be5
Add renderer
2025-11-25 10:28:48 +00:00
Oliver Walters
a03fbb8f87
Tweak frontend
2025-11-25 10:10:15 +00:00
Oliver Walters
2baa3d3bb7
Add parameter support for build orders
2025-11-25 09:27:41 +00:00
Oliver Walters
90b3eb37fe
Update CHANGELOG.md
2025-11-25 09:23:01 +00:00
Oliver Walters
c248ca3d38
Update API version
2025-11-25 09:20:58 +00:00
Oliver and GitHub
a4febde765
Merge branch 'master' into generic-parameters
2025-11-25 20:19:20 +11:00
Oliver Walters
e2089312c4
Add UI support for parameters against orders
2025-11-25 09:18:04 +00:00
Oliver Walters
9e3f3b27db
Add parameter support for orders
2025-11-25 09:03:45 +00:00
Oliver Walters
59f18f0f8f
Implement more parametric tables:
...
- ManufacturerPart
- SupplierPart
- Fixes and enhancements
2025-11-25 08:54:09 +00:00
Oliver Walters
e3c975e157
Fix code for copying parameters from category
2025-11-25 07:31:13 +00:00
Oliver Walters
72607110be
Remove old models
2025-11-25 07:23:09 +00:00
Oliver Walters
211c98ed30
Remove serializer
2025-11-25 06:15:27 +00:00
Oliver Walters
9d95ab4787
Fix hook for rebuilding template parameters
2025-11-25 05:42:11 +00:00
Oliver Walters
5533a374f2
Add generic API mixin for filtering and ordering by parameter
2025-11-25 05:33:41 +00:00
Oliver Walters
a617cece72
Prefetch to reduce hits
2025-11-25 04:18:50 +00:00
Oliver Walters
b86bc2d6b8
Fix typo in file name
2025-11-25 04:17:27 +00:00
Oliver Walters
b5b9a952ea
Add parametric tables for company views
2025-11-25 04:16:06 +00:00
Oliver Walters
a5334d9e06
Fix for parametric part table
...
- Only display parameters for which we know there is a value
2025-11-25 04:13:48 +00:00
Oliver Walters
00e46d0d36
Consolidate part table views
2025-11-25 03:56:59 +00:00
Oliver Walters
fa081458dd
Refactor segmented panels
2025-11-25 03:54:37 +00:00
Oliver Walters
a65df8b1cb
Make parametric table generic
2025-11-25 03:26:18 +00:00
Oliver Walters
262bbd5cf3
Implement generic "ordering" by parameter
2025-11-25 02:56:36 +00:00
Oliver Walters
7f82276df7
Implement generic "filtering" against queryset
2025-11-25 02:44:34 +00:00
Oliver Walters
cb76020bf8
Fix prefetching for PartSerializer
2025-11-25 01:56:53 +00:00
Oliver Walters
5a4e84c83a
Run plugin validation against parameter
2025-11-25 01:46:20 +00:00
Oliver Walters
009aba81dd
remove defunct admin classes
2025-11-25 01:34:43 +00:00
Oliver Walters
5b4a8d50e6
Directly annotate parameters against different model serializers
2025-11-25 01:31:51 +00:00
Oliver Walters
6369cc89cb
Change panel position
2025-11-25 01:23:47 +00:00
Oliver Walters
d0c2ecb3ed
Add a generic way to back-annotate and prefetch parameters for any model type
2025-11-25 01:08:38 +00:00
Oliver Walters
5771cfa20d
Refactoring some code
2025-11-25 01:06:54 +00:00
Oliver Walters
48931d0061
Define GenericRelationship for linking model
2025-11-25 00:54:14 +00:00
Oliver Walters
6e1292aa62
Revert change to parameters property
2025-11-24 23:56:01 +00:00
Oliver Walters
b6c38b91e1
Refactor API filtering for endpoints
...
- Specify ContentType by ID, model or app label
2025-11-24 23:03:31 +00:00
Oliver Walters
ccc3997518
Adds ContentTypeField
...
- Handles representation of content type
- Provides human-readable options
2025-11-24 13:27:04 +00:00
Oliver Walters
6c76b309bf
Add custom serializer field for ContentType with choices
2025-11-24 13:14:36 +00:00
Oliver Walters
019494420a
Fixes for table structure
2025-11-24 12:45:36 +00:00
Oliver Walters
1c7789a286
Add generic relationship to allow reverse lookups
2025-11-24 12:35:43 +00:00
Oliver Walters
e9d42bd898
Use GenericForeignKey
2025-11-24 12:31:32 +00:00
Oliver Walters
173839d76b
Check global setting for unit validation
2025-11-24 12:22:52 +00:00
Oliver Walters
2432762451
Fix typos
2025-11-24 12:22:32 +00:00
Oliver Walters
b1fa9ab889
Update global setting
2025-11-24 12:02:19 +00:00
Oliver Walters
d075729ea4
Removed dead API code
2025-11-24 11:52:10 +00:00
Oliver Walters
2db98fb624
Add verbose name to ParameterTemplate model
2025-11-24 11:44:54 +00:00
Oliver Walters
d25696c4b0
Add data import for parameter table
2025-11-24 11:41:45 +00:00
Oliver Walters
71511bab3a
Fix for filters
2025-11-24 11:31:55 +00:00
Oliver Walters
9ceaad0848
Remove code for ManufacturerPartParameter
2025-11-24 11:28:00 +00:00
Oliver Walters
9bcdc7ddcd
Change migration for part parameter
...
- Make it "universal"
2025-11-24 11:12:28 +00:00
Oliver Walters
daea1706a2
Enable parameters for Company model
2025-11-24 09:25:15 +00:00
Oliver Walters
e9b5dde992
Implement generic "parameter" table
2025-11-24 09:20:10 +00:00
Oliver and GitHub
7c7d7b6a21
Spelling fix ( #10896 )
...
* spwan -> spawn
* Prioriy -> Priority
* Bump API version
* Fix spelling in migration file
2025-11-24 17:49:13 +11:00
Oliver Walters
3258cf268a
Merge branch 'generic-parameters' of github.com:SchrodingersGat/InvenTree into generic-parameters
2025-11-24 05:49:19 +00:00
Oliver and GitHub
39096bbb1b
Merge branch 'master' into generic-parameters
2025-11-24 16:49:15 +11:00
Oliver and GitHub
89e3d605c5
Update postgres version ( #10895 )
...
- docker setup uses postgres:17
- Documentation incorrectly stated postgres:16
- Update CI to use postgres:17 also
2025-11-24 16:48:59 +11:00
Oliver Walters
ada982d4e5
Merge branch 'generic-parameters' of github.com:SchrodingersGat/InvenTree into generic-parameters
2025-11-24 04:45:50 +00:00
Oliver and GitHub
5c7c15ef1b
Merge branch 'master' into generic-parameters
2025-11-24 15:44:41 +11:00
Oliver and GitHub
276041ae54
[bug] Migration test fix ( #10899 )
...
* Pop instead of get
* Better error handling for unit registry
* Prevent caching during database migrations
* Remove debug msg
* Revert changes
2025-11-24 14:52:13 +11:00
Oliver and GitHub
7d5429303e
Error messages ( #10894 )
...
* Add INVE-E14 - Error in config file
* Add INVE-E14
* Fix duplicate code
* Fix numbering
2025-11-23 23:11:12 +11:00
Oliver Walters
4b2f510a73
Rough-in new table
2025-11-23 12:10:54 +00:00
Oliver Walters
8c120b03ec
Add new field to serializer
2025-11-23 12:02:01 +00:00
Oliver Walters
3c03727500
Add "enabled" field to ParameterTemplate model
2025-11-23 11:59:31 +00:00
Oliver Walters
f743023c83
Add comment for later
2025-11-23 09:19:02 +00:00
Oliver and GitHub
d6e1c37af2
Merge branch 'master' into generic-parameters
2025-11-23 19:56:37 +11:00
Oliver and GitHub
e590522909
[UI] Fix for PartTestResultTable ( #10886 )
...
* [UI] Fix for PartTestResultTable
- Filter properly by part instance
* Add a simple unit test
* Tweak unit test
2025-11-22 17:20:49 +11:00
Oliver and GitHub
a7ff1250ba
[bug] Serialize location ( #10882 )
...
* Properly set location id when serializing stock
* Add correct tracking entries
* Add unit test
2025-11-22 12:56:31 +11:00
Oliver and GitHub
f50d568b23
[plugin] Add printing delay to sample machines ( #10873 )
...
* [plugin] Add printing delay to sample machines
- Useful for testing
- Default is zero
* Add backup_value to MachineSetting.get_setting
* Fix call to machine.get_setting
* Fix for printing logic
* Simplify code
2025-11-21 14:56:23 +11:00
Oliver and GitHub
d5ee647c6e
[ui] Label fix ( #10874 )
...
* Fix for sales order allocations:
- Improve UX
- Clearer intent
* Same fix for build order
* Also for build line sub table
2025-11-21 12:43:01 +11:00
Oliver and GitHub
a76ec0a7b8
[UI] Suggested pricing ( #10867 )
...
* Refactor NumberField into separate component
* Add helper func to ensure a number is a number
* Use placeholder value for suggested sale price
* Fix for auto-fill
* Tweak price calculation
* Add UI testing for sales order price breaks
* Fix aria label name
* Annotate price breaks to supplier part
* Fetch price break data
* Support price breaks for purchase order pricing
* Fix required to prevent circular imports
* Add playwright tests for purchase order price breaks
* Bump API version
* Re-add output options for SupplierPriceBreakList
* Revert change
* Simplify unit test
2025-11-20 22:51:27 +11:00
Oliver and GitHub
94f4ef5c1b
Merge branch 'master' into generic-parameters
2025-11-20 22:32:29 +11:00
Oliver and GitHub
835c7784f9
Implement caching for unit registry: ( #10870 )
...
* Implement caching for unit registry:
- Registry could become out of sync across sessions
- Implement a simple caching system
* Simplify code
2025-11-20 22:31:33 +11:00
Oliver and GitHub
468efbacfc
[UI] Delete stock fix ( #10868 )
...
* Add helper func getOverviewUrl
* Redirect to parent page when stock item is counted to zero
2025-11-20 06:34:25 +11:00
Oliver and GitHub
18c2a934b8
Better handling of an invalid config file ( #10857 )
...
* Better handling of an invalid config file
* Remove dud line
2025-11-19 16:21:17 +11:00
a8f2a02d69
[bug] Media url fix ( #10855 )
...
* Bug fix for getMediaUrl
- Proper check for file type
- Fix "fully_qualified_url" for Attachment model
* Add unit test
* Fix typo
* Fix unit test
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2025-11-19 15:50:05 +11:00
Oliver and GitHub
7b38fa30bb
Fix for shipping virtual parts ( #10853 )
...
* 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
2025-11-19 15:40:41 +11:00
Oliver and GitHub
40fbb4d810
Offload stock consume operations ( #10856 )
...
- These can be expensive if there are a lot of allocated items
- Offload to the background worker
2025-11-19 15:40:24 +11:00
Oliver and GitHub
d06d80fb99
Bug fix for sales order pricing ( #10858 )
...
* Bug fix for sales order pricing
- Clear sale price field if no pricing
* Adjust playwright tests
2025-11-19 14:49:51 +11:00
Oliver and GitHub
2799c4d1fe
Specify python version in netlify.toml ( #10859 )
2025-11-19 13:55:34 +11:00
Oliver and GitHub
dab7223245
Updates for data exporting ( #10854 )
...
- Add option to exclude email logs from import / export
- Fix for pluginusersetting
2025-11-19 07:58:22 +11:00
Oliver and GitHub
57a2de6ffc
[UI] Remove duplicate action ( #10844 )
...
- "Build Output" is same as "stock item" in this case
2025-11-17 19:52:35 +11:00
Oliver and GitHub
770f7a292e
[UI] Fix for form OPTIONS query ( #10840 )
...
* [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
2025-11-16 21:59:27 +11:00
Oliver and GitHub
aa9958bf11
[bug] State change fixes ( #10832 )
...
* Fix for setting custom status
* Fix for setting custom status when receiving stock items
* Allow caching for set_status
* Updated code and unit tests
2025-11-15 07:42:48 +11:00
Oliver and GitHub
af4d9efd1d
devcontainer: Expose debug server on all ports ( #10833 )
...
- Required for new docker setup in devcontainer
2025-11-14 19:28:31 +11:00
Oliver and GitHub
39d181ae5f
Make icons red again ( #10816 )
2025-11-14 18:12:41 +11:00
Oliver and GitHub
ba9b5438b4
Char fix ( #10827 )
...
* Remove debouncing from text field
* Add debounce to data import field
* Only apply for strings values
* Fix unit test
* More unit test tweaks
2025-11-14 17:35:59 +11:00
Oliver and GitHub
8cb808f613
Bug fix for loading boolean settings ( #10826 )
...
- Do not just cast to bool
- The string "False" casts to True in this case
- Use the function that supports strings
2025-11-14 08:26:24 +11:00
Oliver and GitHub
0790dfff5b
[UI] Auto-fill stock allocation for build order ( #10819 )
...
* Auto-fill stock allocation for build order
* Auto-fill allocation for sales orders
* Prevent recursive auto-fills
2025-11-13 23:16:32 +11:00
Oliver and GitHub
af6cce3aba
[UI] Duplicate supplier part ( #10809 )
...
* Allow duplication of supplier part
* Bug fix for pack quantity display
* Allow duplication of ManufacturerPart
2025-11-12 00:08:45 +11:00