2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-16 17:28:11 +00:00
Commit Graph

1355 Commits

Author SHA1 Message Date
Oliver
eb49c0037c Merge branch 'master' into generic-parameters 2025-11-26 23:40:57 +11:00
Oliver Walters
d0315bea77 Fix part tests 2025-11-26 12:04:23 +00:00
Oliver Walters
443f50b411 Fix admin tests 2025-11-26 11:47:11 +00:00
Oliver
5713cff1cb [bug] Stock adjust (#10914)
* Extra checks on backend

* Bug fix for adjustment forms

- Set default quantity of zero

* Additional unit testing (to ensure no regression)
2025-11-26 22:32:57 +11:00
Oliver
2ce0e42978 Merge branch 'master' into generic-parameters 2025-11-26 12:38:33 +11: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
2478b08a60 Fix for Category Parameters 2025-11-26 00:27:14 +00:00
Oliver Walters
661b62f578 tweak table 2025-11-26 00:19:00 +00:00
Oliver
df6cbca197 Check / uncheck shipments from table (#10907) 2025-11-25 23:19:18 +11: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
e2089312c4 Add UI support for parameters against orders 2025-11-25 09:18:04 +00:00
Oliver Walters
59f18f0f8f Implement more parametric tables:
- ManufacturerPart
- SupplierPart
- Fixes and enhancements
2025-11-25 08:54:09 +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
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
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
6369cc89cb Change panel position 2025-11-25 01:23:47 +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
b1fa9ab889 Update global setting 2025-11-24 12:02:19 +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
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 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
d6e1c37af2 Merge branch 'master' into generic-parameters 2025-11-23 19:56:37 +11:00
Oliver
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
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
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
94f4ef5c1b Merge branch 'master' into generic-parameters 2025-11-20 22:32:29 +11:00
github-actions[bot]
f72efb804e New Crowdin translations by GitHub Action (#10736)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-20 21:39:11 +11:00
Oliver
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
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
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
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
2799c4d1fe Specify python version in netlify.toml (#10859) 2025-11-19 13:55:34 +11:00
Oliver
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
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
39d181ae5f Make icons red again (#10816) 2025-11-14 18:12:41 +11:00
Oliver
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
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
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