github-actions[bot]
a301214ac9
New Crowdin translations by GitHub Action ( #10013 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-24 09:48:45 +10:00
Oliver
090f657f11
Refactor BomValidationInfo into component ( #10064 )
...
- Cleaner code
- Don't fetch for non-assembly parts
2025-07-24 08:17:08 +10:00
Oliver
dfd9fe44a4
[Refactor] BOM Validation ( #10056 )
...
* Add "bom_validated" field to the Part model
* Check bom validity of any assemblies when a part is changed
* Improved update logic
* Fixes for circular imports
* Add additional info to BOM validation serializer
* More intelligent caching
* Refactor
* Update API filter
* Data migration to process existing BomItem entries
* Add "BOM Valid" filter to part table
* Add dashboard widget
* Display BOM validation status
* Tweak dashboard widget
* Update BomTable
* Allow locked BOM items to be validated
* Adjust get_item_hash
- preserve "some" backwards compatibility
* Bump API version
* Refactor app URL patterns
* Fix import sequence
* Tweak imports
* Fix logging message
* Fix error message
* Update src/backend/InvenTree/part/migrations/0141_auto_20250722_0303.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update exception handling
* Try info level debug
* Disable exchange rate update
* Add registry ready flag
* Add is_ready func
* Cleaner init code
* Protect against plugin access until ready
* Fix dashboard widget filter
* Adjust unit test
* Fix receiver name
* Only add plugin URLs if registry is ready
* Cleanup code
* Update playwright tests
* Update docs
* Revert changes to urls.py
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-23 20:16:00 +10:00
Oliver
73231ce921
[ui] Enable form auto-fill ( #10061 )
...
* Enable form auto-fill
- If a single value is available, pre-fill
- Must be enabled per-field
* Tweak playwright tests for increased reliability
* Fix deps
2025-07-23 18:32:04 +10:00
Oliver
89279ef091
[bug] Part param edit ( #10059 )
...
* Fix for BooleanField
- Ensure that an "undefined" value reads "false" by default
* Tweak part parameter form
* Enhanced playwright tests
* Better boolean field management
* Update src/frontend/src/forms/PartForms.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/frontend/src/components/forms/ApiForm.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-23 18:31:39 +10:00
Oliver
283d5d6050
[ui] Better formatting for badges ( #10060 )
...
* Better formatting for badges
* Stock detail too
2025-07-23 13:19:33 +10:00
dependabot[bot]
998054a9b4
chore(deps): bump form-data from 4.0.0 to 4.0.4 in /src/frontend ( #10055 )
...
---
updated-dependencies:
- dependency-name: form-data
dependency-version: 4.0.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-22 15:22:46 +10:00
Matthias Mair
87cac2ea14
bump @tabler/icons-react to fix occaisonal reload issues ( #10050 )
...
Ref https://github.com/tabler/tabler-icons/issues/1233
2025-07-22 07:36:18 +10:00
Oliver
dbf11d4b01
Check user permissions for dashboard items ( #10047 )
...
Ref: https://github.com/inventree/InvenTree/discussions/10046
2025-07-20 20:02:07 +10:00
Oliver
69ca942dfc
BOM Enhancements ( #10042 )
...
* Add "round_up_multiple" field
* Adjust field def
* Add serializer field
* Update frontend
* Nullify empty numerical values
* Calculate round_up_multiple value
* Adjust table rendering
* Update API version
* Add unit test
* Additional unit test
* Change name of value
* Update BOM docs
* Add new fields
* Add data migration for new fields
* Bug fix for data migration
* Adjust API fields
* Bump API docs
* Update frontend
* Remove old 'overage' field
* Updated BOM docs
* Docs tweak
* Fix required quantity calculation
* additional unit tests
* Tweak BOM table
* Enhanced "can_build" serializer
* Refactor "can_build" calculations
* Code cleanup
* Serializer fix
* Enhanced rendering
* Updated playwright tests
* Fix method name
* Update API unit test
* Refactor 'can_build' calculation
- Make it much more efficient
- Reduce code duplication
* Fix unit test
* Adjust serializer type
* Update src/backend/InvenTree/part/models.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/backend/InvenTree/part/test_bom_item.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update docs/docs/manufacturing/bom.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update docs/docs/manufacturing/bom.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Adjust unit test
* Adjust tests
* Tweak requirements
* Tweak playwright tests
* More playwright fixes
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-20 19:14:29 +10:00
Oliver
31d4a88f90
[UI] Various fixes ( #10038 )
...
* Fix badge wrapping
* Move revision selector
- Simplify top header
* Remove "detail" attribute from <PageDetail>
* Implement "FORMS_CLOSE_USING_ESCAPE" option
* Implement "STICKY_HEADER" setting
* Remove unused setting
* Improved badge layout
* Sticky header fix
2025-07-18 11:36:04 +10:00
Oliver
e6f18db800
Fix rendering glitch in tables ( #10041 )
...
* Fix rendering glitch in tables
- Table render could glitch based on cached column order
- React does not handle array dependencies well sometimes
- Change when column order is recalculated
* Simplify effect chain
- Memoize columns order
- Simply overwrite with columns order
2025-07-18 11:28:41 +10:00
Oliver
476fcc676a
Remove debug message ( #10040 )
2025-07-18 07:17:43 +10:00
Oliver
a9c8c47e60
[UI] Part requirements ( #10036 )
...
* Tweak SalesOrderAllocations table
* Refactor "include_variants" filter
* Improved API filtering for "SalesOrderLineItem" endpoint
* Fetch part detail for table
* Fix email template
- Referenced template which does not exist
* Refactor the "requirements" endpoint
- Include variant part requirements too
* Updated starred notifications
* Adjust column name
* Update PartDetail
- Extract information from partRequirements query first
* Cache BOM items
* Improve PartDetail page
* Enhance isGeneratingSchema
- Call inspect as late as possible
* Adjust PartDetail
* Improve BuildOrderAllocations table
* Exclude common.newsfeedentry when exporting
* Updated playwright tests
* Bump API version
2025-07-18 00:00:33 +10:00
Oliver
995c3ff5e7
Tweak panel behaviour ( #10030 )
...
- Always separate "plugin provided" panels
2025-07-16 13:55:16 +10:00
Oliver
d99ec3e1a1
PartParameter updates ( #10023 )
...
* Add mixin for storing user who last updated an instance
* Add mixin to "PartParameter" model
* Fix typo
* Fix strings
* Refactor mixin class
* Update part parameter table:
- Add "user" filter
- Add "updated_by" column
- Add "update" column
- Add "note" column
* Fix for updating date
* Add user information when saving parameter
* small refactors
* Bump API version
* Add unit test for "updated" and "updated_by" fields
* Check for 'note' field
* Update docs image
2025-07-15 22:34:07 +10:00
Oliver
75ab57bc0b
[UI] Build page tweak ( #10027 )
...
* Hide "consumed stock" panel if not required
* Docs updates
* Hide allocation fields if the build has no required parts
* Additional serializer options
2025-07-15 18:27:09 +10:00
Oliver
42abc61494
Improve RenderStockItem ( #10028 )
...
- Display "available" quantity if some has been allocted
2025-07-15 18:26:48 +10:00
Oliver
f12479dd37
[UI] Improve formatting functions ( #10025 )
...
* Improve formatting functions
- Add try/catch around formatting functions
- Better logic for default values
* Change fallback logic
2025-07-15 14:33:08 +10:00
Oliver
471b8c239f
[UI] Sales order fixes ( #10024 )
...
* Fix stock item reference
* Allow edit from allocated items sub-table
2025-07-15 13:00:33 +10:00
sufyan-mukadam
dcaf7cf7d7
feat: add tax_id field to Company model and related forms ( #9673 )
...
* feat: add tax_id field to Company model and related forms
* Update 0075_company_tax_id.py to fix typo
* Update models.py to fix typo
* Update tests.py to increment 'column_mappings.count()' to 15
* Update api_version.py
2025-07-15 09:00:46 +10:00
Oliver
ea00a50dfd
Remove search on "Pending Tasks" table ( #10018 )
...
- Pending tasks are encoded into payload
- None of the interesting fields are searchable
2025-07-15 00:14:18 +10:00
Oliver
9f715337ec
Stock serialize tweaks ( #10017 )
...
* Better item extraction
* Improve query efficiency
* Further queryset improvements
* Return correct data format
* Test with hugh number of serials
* Improve serialization UX
* Revert changes to unit tests
2025-07-15 00:00:38 +10:00
github-actions[bot]
1db6d2afbe
New Crowdin translations by GitHub Action ( #9993 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-13 18:57:08 +10:00
Matthias Mair
b351fb7483
feat(backend): improve comms around registration ( #9932 )
...
* use better email check
* add error code for missing email settings
* Add note when not registration is enabled
* fix wrong call
* fix tests - might be worth checking if the blank check for testing is a good idea
* capture issues and print to find out what the duck is going on
* exend log
* fix context check
2025-07-13 09:20:45 +10:00
Oliver
a2e06d1fee
Reduce plugin component reloads ( #10010 )
2025-07-12 00:09:35 +10:00
Oliver
b571e9e2d1
UI changelog ( #10008 )
2025-07-11 22:33:41 +10:00
Oliver
fa62c9500b
Fix for <RemoteComponent> ( #10007 )
...
- Prevent multiple creation of root node
- Fixes error message in browser console
2025-07-11 21:33:36 +10:00
Oliver
d3f24bc529
[plugin] Instance rendering ( #10006 )
...
* Move instance render types into @lib
- Expose type definitions
* Expose rendering function to the plugin context
2025-07-11 20:57:15 +10:00
Oliver
6d686cc319
Use LocationColumn in PurchaseOrderLine table ( #10004 )
2025-07-11 16:13:46 +10:00
Oliver
88f05ce434
Plugin source URLs ( #10000 )
...
* Better handling of URLs when loading plugin source
- Handle complex URLs more cleanly
- Support loading from actual external host
- Support loading with specified port
* Fix URL rendering - handle "local" and "remote" components
* Use default host if not provided
* Simplify code
2025-07-11 13:58:16 +10:00
Oliver
d137728e60
Refactor more UI components out into lib directory ( #9994 )
...
* Refactor table column types
* Offloading more component type definitions
* Remove unused funcs
* Move conversion functions
* ActionButton
* Refactor YesNoButton
* ProgressBar
* make row actions available
* search input
* ButtonMenu
* Bump UI version
* Tweak function defs
2025-07-10 06:54:53 +10:00
Oliver
c6166d7c4a
Import fix 2 ( #9992 )
...
* Fix return types
* Add getStatusCodeLabel func
* Fix logic for import session drawer
- Properly re-fetch session data
- Rendering improvements
* Fix icon
* API permission fixes
* Enhanced playwright testing
* Fix playwright tests
* Tweak playwright tests
* Remove unused var
* Tweak playwright tests
2025-07-09 23:32:00 +10:00
Oliver
7ff2ca914a
BOM filter by category ( #9989 )
...
* Add "category" filter for BomItem API endpoint
* Filter BOM table by part category
* Tweak filter label
* Bump API version
* Schema annotation
* Fix playwright test
2025-07-09 21:46:07 +10:00
github-actions[bot]
6f08bdca46
New Crowdin translations by GitHub Action ( #9963 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-09 14:08:59 +10:00
gunstr
223287b1e1
Add setting to show location path as plain text in tables ( #9960 )
...
* Add setting to show location path as plain text in tables
* Use the Location Path setting also for Default Location in the PartTable
* Add setting to show PartCategoty as plain text
* Set DefaultLocationColumn defaultVisible to false
* Fix typo
* Simplify settings keys
* Simplify the name attribute
* Fix typo
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2025-07-09 11:19:05 +10:00
Oliver
b6c8db56fb
Data output table ( #9984 )
...
* Allow DataOutput to be deleted individually via API
* Add row actoins for data-export table
* Filter table by user
* Bump API version
2025-07-09 11:18:51 +10:00
Matthias Mair
f655250947
fix(frontend): Move mail settings to operations ( #9978 )
2025-07-08 17:24:15 +10:00
Matthias Mair
e788989b19
fix(frontend): add URL overview to more models ( #9977 )
2025-07-08 17:23:59 +10:00
Oliver
7e1c51358b
Allow sub-builds to be created for pending builds ( #9972 )
2025-07-07 16:25:14 +10:00
Oliver
b03a53c7cd
[UI] Allocation tweaks ( #9970 )
...
* Hide row actions if not in production
* Refetch allocations on change
2025-07-07 15:12:05 +10:00
Oliver
33e1c58ed9
StockItem Serialization Improvements ( #9968 )
...
* Add "serialize" form to build output table
* Fix dependencies for useGenerator hook
* Improve serializing of stock
- Copy test results
- Ensure fields get copied across
* Fix rendering for StockItemTestResultTable
* Enhanced playwright test
* Fix code
* Fix for unit test
2025-07-07 13:48:58 +10:00
Oliver
1bbbde0b22
Fix useEffect dependencies ( #9967 )
...
- Passing an array to a useEffect dependency list apparently is problematic
2025-07-07 10:07:34 +10:00
github-actions[bot]
e19e5eb029
New Crowdin translations by GitHub Action ( #9959 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-06 19:39:35 +10:00
Oliver
042039754b
[bug] Data import fix ( #9962 )
...
* Permission fix for data importer endpoint
* Add playwright tests
* Bump API version
2025-07-06 18:22:37 +10:00
Oliver
82dfe561ee
[feature] Disable pricing task ( #9730 )
...
* Add setting to control pricing auto-update
* Auto pricing updates depend on global setting
* Tweak menu layout
* Fix typo
* Skip pricing task
* Tweak serializer
* Updated docs
* Update logic around automatic pricing updates
* Logic fix
* Remove daily holdoff
2025-07-05 11:16:42 +10:00
github-actions[bot]
925807e06b
New Crowdin translations by GitHub Action ( #9919 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-04 17:21:56 +10:00
Oliver
6453abb974
User token table ( #9954 )
...
* Tweak layout of Token dialog
* Render user details in API token table
* Bump API version
2025-07-04 11:38:21 +10:00
Oliver
ada346d339
Improved login screens ( #9953 )
...
- Fix shadow offset
- Simplify Wrapper component
2025-07-04 11:14:33 +10:00
Oliver
3d9291d95f
[bug] Allocated items print fix ( #9952 )
...
* Fix label printing for SalesOrderAllocation table
- Need to provide custom lookup option
* Add label actions to BuildOrderAllocationTable
2025-07-04 10:38:51 +10:00