Oliver
73ca468ff7
[UI] Hide actions for completed orders ( #10617 )
...
* Adjust error message target
* Hide UI actions if order is locked
* Refactor salesorderdetail page
* Refactor PurchaseOrderDetail page
* Refactor ReturnOrderDetail
2025-10-19 11:34:04 +11:00
github-actions[bot]
2182fe42db
New Crowdin translations by GitHub Action ( #10614 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-19 11:03:46 +11:00
Oliver
803d22155b
[UI] Part import ( #10609 )
...
* Allow import of parts from file
* Extend default values for part import
* Small visual tweaks
* Update documentation
* Update playwright test
2025-10-18 18:12:05 +11:00
Oliver
72d127219f
Generator updates ( #10605 )
...
* Form Field updates:
- Allow spec of leftSection prop
- Allow spec of rightSection prop
* Add ability to auto-fill text input with placeholder value
* Simplify stock form
* Better serial number placeholders
* Update other generator fields
* Add default placeholder to DateInput
* Enhance TextField
* Remove serial_numbers field for non-creation forms
* Update playwright tests
* Adjust playwright tests
* Further playwright adjustments
* Fix project code field for build serializer
2025-10-18 17:18:04 +11:00
Oliver
a7c4f2adba
BOM updates ( #10611 )
...
* BOM updates
- Allow variants of substititute parts to be allocated
- Closes https://github.com/inventree/InvenTree/issues/10606
* Check self.allow_variants
* Add comment
2025-10-18 11:49:46 +11:00
github-actions[bot]
c731de2b05
New Crowdin translations by GitHub Action ( #10528 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-18 09:19:40 +11:00
Matthias Mair
5b7820eef0
refactor(backend): shift filterable serializer responses to a more introspection friendly model ( #10498 )
...
* move filtering of serializer fields out of functions into mixin
* fix def
* temp fix
* rollback rollback
* more adoption
* fix many serializer behaviour
* optimize mro
* set many serializer
* adjust default filtering
* fix import
* add missed field
* make can_filter suppport more complex scenarios:
- different filtername from fieldname
- multiple fields with one filtername
* fix removal
* fix schema?
* add missing def
* add test
* fix schema fields
* fix another serializer issue
* further fixes
* extend tests
* also process strings
* fix serializer for schema
* ensure popped values are persisted
* move test around
* cleanup
* simplify tests
* fix typo
* fix another test
* var tests
* disable additional tests
* make application of PathScopedMixin more intentional -> more efficient
* make safer to use with various sanity checks
* fix list serializer
* add option to ignore special cases
* generalize addition
* remove generalize addition
* re-add missing schema generation exception
* remove new duplication
* fix style
* adjust naming and docs, add typing to clean stuff up
* simplify more
* fix ref calc
2025-10-18 09:17:01 +11:00
Oliver
d34f44221e
Backup update ( #10586 )
...
* Update django-dbbackup version
* Specify STORAGES option for dbbackup
* Add more backup configuration
* Support custom date formats
* Add connector options
* Extend functionality of invoke backup
* Add extra options for restore task
* Add invoke task for finding additional backups
* Small tweaks
* Add docs around backup / restore
* Fix typo
* Add example for GCS storage
* More docs
2025-10-18 07:28:18 +11:00
Lukas Wolf
de270a5fe7
Supplier Mixin ( #9761 )
...
* commit initial draft for supplier import
* complete import wizard
* allow importing only mp and sp
* improved sample supplier plugin
* add docs
* add tests
* bump api version
* fix schema docu
* fix issues from code review
* commit unstaged changes
* fix test
* refactor part parameter bulk creation
* try to fix test
* fix tests
* fix test for mysql
* fix test
* support multiple suppliers by a single plugin
* hide import button if there is no supplier import plugin
* make form submitable via enter
* add pui test
* try to prevent race condition
* refactor api calls in pui tests
* try to fix tests again?
* fix tests
* trigger: ci
* update changelog
* fix api_version
* fix style
* Update CHANGELOG.md
Co-authored-by: Matthias Mair <code@mjmair.com>
* add user docs
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-10-18 07:13:03 +11:00
Oliver
d534f67c62
Report maths tweaks ( #10604 )
...
* Maths tags updates
- Allow maths operations on non-float values
- Add tests for Decimal values
- Add tests for Money values
- Convert string values to floating point
* Add modulo tag
2025-10-17 20:54:20 +11:00
Oliver
24dfbe815e
[UI] Manufacturer part updates ( #10601 )
...
* Add filters for manufacturer parts table
* Refactor <ManufacturerPartTable />
* Fix typo
* Additional filter options for StockList:
- Filter by ManufacturerPart ID
* Stock table view for ManufacturerPart
* Bump API version
2025-10-17 15:19:12 +11:00
Oliver
759c882a95
Allow adjument of build outputs ( #10600 )
...
* Auto-select location
* Allow stock adjustments for "in production" items
* Tweak stock move check
* Allow splitting of production stock
* Update CHANGELOG.md
2025-10-17 11:53:51 +11:00
Oliver
485aa6324c
Dashboard item fix ( #10596 )
...
* Fix for "subscribed categories" dashboard item
* Tweak filter display
* Tweak filter for "Subscribed Parts"
2025-10-16 23:03:02 +11:00
Oliver
e040d99665
Order labels ( #10588 )
...
* Add label actions for build orders
* Support other order types
2025-10-16 07:07:15 +11:00
Oliver
c2ade84872
Plugin stock forms ( #10584 )
...
* Expose stock adjustment forms to plugins
* Update changelog
* Expand type exports
* Update CHANGELOG.md
2025-10-15 09:08:38 +11:00
Oliver
e0559bb2b4
[UI] Fix broken dashboard link ( #10577 )
...
Ref: https://github.com/inventree/inventree/issues/10548
2025-10-14 12:05:35 +11:00
Matthias Mair
ac1eb85334
refactor(backend): reduce duplication in tests ( #10579 )
...
* refactor(backend): reduce duplication for tests
* fix tests
* fix text
* adjust last test
2025-10-14 08:23:25 +11:00
Oliver
86c894f218
[UI] Enhance file-upload field ( #10576 )
...
- Add icon
- Add ability to clear input
- Add default placeholder
- Ref: https://github.com/inventree/inventree/issues/10548
2025-10-13 23:05:46 +11:00
Oliver
f9bdad975f
Fix missing closing </div> tag ( #10572 )
2025-10-13 17:48:58 +11:00
Oliver
a466926aef
[UI] Remove placeholder text ( #10569 )
...
- Remove TODO entry
- Placeholder when adding external build order support
2025-10-13 14:20:52 +11:00
Oliver
f22417fd1f
[UI] Fix stock actions ( #10566 )
...
* Clear selected records when search term changes
* Clear selection after performing stock actions
2025-10-13 13:08:55 +11:00
Oliver
ea868b3179
[UI] About InvenTree Tweak ( #10565 )
...
- Hide version entries without data
2025-10-13 13:08:49 +11:00
Oliver
6badc0148f
[UI] Adjust login error messages ( #10556 )
...
* Adjust config template
- Don't hard-code cookie mode into template
- Revert to the "default" values (which are the same)
* [ui] better feedback on login error
- Show error code, at least
* Revert removed code
* Adjust playwright tests
2025-10-13 12:25:21 +11:00
Austen Hoogen
466463ad74
Enhancement: Support Redis ACL User Logins ( #10551 )
...
* Adding support for modern Redis ACL user-baased auth
* Reverting pre-config
* Simplified to combine legacy and acl redis connection uris
---------
Co-authored-by: Austen Hoogen <austenwho@protonmail.com>
2025-10-13 09:53:24 +11:00
Oliver
022c48f2d3
[API] Allow search of assembly fields in BOM API endpoint ( #10561 )
...
* [API] Allow search of assembly fields in BOM API endpoint
- Required so we can search the "used in" table
* Bump API version
2025-10-13 09:47:42 +11:00
Matthias Mair
6327707c0e
fix(installer): make VERSION information accessible in invoke calls ( #10558 )
...
* implement version loading in more contexts
closes #10554
* factor version file out
* ensure results do not contain new strings
2025-10-13 09:01:53 +11:00
Matthias Mair
49f8f72a46
chore(backend)!: fix spelling ( #10557 )
...
* fix spelling
* add changelog entry
2025-10-13 07:06:14 +11:00
Oliver
067cb1fccb
Catch error during auto-migrations ( #10553 )
...
- Prevent process interlock
- Prevent migration check if already running migrations
2025-10-13 07:04:26 +11:00
Oliver
4edbe9bab1
Fix "override pricing" display ( #10545 )
...
- Use specified currency values
- Closes #10537
2025-10-11 12:06:17 +11:00
Oliver
1a171b5705
[UI] Prevent warning flash ( #10540 )
...
* [UI] Prevent warning flash
- Display warning element after a delay
* Support no-javascript
2025-10-10 10:39:06 +11:00
Joe Rogers
b36f452ac1
Add schema representation for plugin action error responses ( #10538 )
...
* Define error serializer and codes for schema
* Bump api version
* Update integration test status code check
2025-10-10 09:13:24 +11:00
Joe Rogers
8ff5b1965d
Fill in last missing return types in schema ( #10532 )
...
* Add background task overview return type to schema
* Implement serializer so schema generates correctly
* Bump api version
2025-10-09 09:45:05 +11:00
Lukas
cb0b0bcd0d
allow mobile check ignore ( #10529 )
...
* allow mobile check ignore
* add docs
2025-10-09 09:44:40 +11:00
Joe Rogers
7ca72ff262
Generic status endpoint fixes ( #10530 )
...
* Allow querying for generic status by class name, add schema return type for AllStatusViews
* Bump version api
* Fix tests
2025-10-08 12:39:30 +11:00
Oliver
0c54671abe
[UI] Virtual BOM Improvements ( #10516 )
...
* Add "virtual" badge when rendering part
* Improve display of virtual parts in BOM table
* Adjust playwright test
2025-10-08 08:58:01 +11:00
Neil Beukes
fff0d67791
add-minimum-stock-to-brief-part-serializer ( #10497 )
...
* add-minimum-stock-to-brief-part-serializer
* Remove unnecesary lines
* Update version.py
* Update version.py
* Update api_version.py
2025-10-07 23:02:32 +11:00
dependabot[bot]
835e9e2556
chore(deps): bump the dependencies group across 3 directories with 10 updates ( #10482 )
...
* chore(deps): bump the dependencies group across 3 directories with 10 updates
Bumps the dependencies group with 1 update in the /contrib/dev_reqs directory: [pyyaml](https://github.com/yaml/pyyaml ).
Bumps the dependencies group with 3 updates in the /docs directory: [mkdocs-include-markdown-plugin](https://github.com/mondeja/mkdocs-include-markdown-plugin ), [mkdocs-macros-plugin](https://github.com/fralau/mkdocs_macros_plugin ) and [mkdocs-material](https://github.com/squidfunk/mkdocs-material ).
Bumps the dependencies group with 6 updates in the /src/backend directory:
| Package | From | To |
| --- | --- | --- |
| [pyyaml](https://github.com/yaml/pyyaml ) | `6.0.2` | `6.0.3` |
| [django-oauth-toolkit](https://github.com/django-oauth/django-oauth-toolkit ) | `3.0.1` | `3.1.0` |
| [docutils](https://github.com/rtfd/recommonmark ) | `0.22.1` | `0.22.2` |
| [grpcio](https://github.com/grpc/grpc ) | `1.75.0` | `1.75.1` |
| [pypdf](https://github.com/py-pdf/pypdf ) | `6.0.0` | `6.1.1` |
| [sentry-sdk](https://github.com/getsentry/sentry-python ) | `2.38.0` | `2.39.0` |
Updates `pyyaml` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/yaml/pyyaml/releases )
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.3/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/6.0.2...6.0.3 )
Updates `pyyaml` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/yaml/pyyaml/releases )
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.3/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/6.0.2...6.0.3 )
Updates `mkdocs-include-markdown-plugin` from 7.1.8 to 7.2.0
- [Release notes](https://github.com/mondeja/mkdocs-include-markdown-plugin/releases )
- [Commits](https://github.com/mondeja/mkdocs-include-markdown-plugin/compare/v7.1.8...v7.2.0 )
Updates `mkdocs-macros-plugin` from 1.3.9 to 1.4.0
- [Release notes](https://github.com/fralau/mkdocs_macros_plugin/releases )
- [Changelog](https://github.com/fralau/mkdocs-macros-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fralau/mkdocs_macros_plugin/compare/v1.3.9...v1.4.0 )
Updates `mkdocs-material` from 9.6.20 to 9.6.21
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases )
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.6.20...9.6.21 )
Updates `pyyaml` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/yaml/pyyaml/releases )
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.3/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/6.0.2...6.0.3 )
Updates `django-oauth-toolkit` from 3.0.1 to 3.1.0
- [Release notes](https://github.com/django-oauth/django-oauth-toolkit/releases )
- [Changelog](https://github.com/django-oauth/django-oauth-toolkit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/django-oauth/django-oauth-toolkit/compare/3.0.1...3.1.0 )
Updates `docutils` from 0.22.1 to 0.22.2
- [Changelog](https://github.com/readthedocs/recommonmark/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rtfd/recommonmark/commits )
Updates `grpcio` from 1.75.0 to 1.75.1
- [Release notes](https://github.com/grpc/grpc/releases )
- [Changelog](https://github.com/grpc/grpc/blob/master/doc/grpc_release_schedule.md )
- [Commits](https://github.com/grpc/grpc/compare/v1.75.0...v1.75.1 )
Updates `pypdf` from 6.0.0 to 6.1.1
- [Release notes](https://github.com/py-pdf/pypdf/releases )
- [Changelog](https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md )
- [Commits](https://github.com/py-pdf/pypdf/compare/6.0.0...6.1.1 )
Updates `pyyaml` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/yaml/pyyaml/releases )
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.3/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/6.0.2...6.0.3 )
Updates `sentry-sdk` from 2.38.0 to 2.39.0
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/2.38.0...2.39.0 )
Updates `setuptools` from 80.9.0 to
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/commits )
---
updated-dependencies:
- dependency-name: pyyaml
dependency-version: 6.0.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: pyyaml
dependency-version: 6.0.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: mkdocs-include-markdown-plugin
dependency-version: 7.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: mkdocs-macros-plugin
dependency-version: 1.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: mkdocs-material
dependency-version: 9.6.21
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: pyyaml
dependency-version: 6.0.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: django-oauth-toolkit
dependency-version: 3.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: docutils
dependency-version: 0.22.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: grpcio
dependency-version: 1.75.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: pypdf
dependency-version: 6.1.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: pyyaml
dependency-version: 6.0.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-version: 2.39.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: setuptools
dependency-version:
dependency-type: direct:production
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix style
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-07 22:51:03 +11:00
github-actions[bot]
a27bb835fc
New Crowdin translations by GitHub Action ( #10449 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-07 22:37:44 +11:00
Matthias Mair
13845c69da
feat(backend): Improve error message on INVE-7 ( #10518 )
...
* feat(backend): Improve error message on INVE-7
* change wording
* fix test
* another fix
2025-10-07 11:25:13 +11:00
Matthias Mair
c83a9b01ce
fix: package distribution ( #10515 )
...
* show warning text
* fix formatting
* try to gather site-url correctly
* protect envs that are set in the config
* raise issue if they appear
* prefer app setting over file config
* preserve setting if injected via envs
2025-10-07 08:56:08 +11:00
Matthias Mair
a2ee45ea2d
chore(backend): fix missing ignore ( #10512 )
...
* fix ignore
* ignore sentry that is not used in prod
2025-10-07 08:28:40 +11:00
Matthias Mair
96a5291766
fix(backend): ensure internal notifications are created in a valid format ( #10502 )
...
Closes #10435
2025-10-06 21:58:19 +11:00
Oliver
d3aa26b707
[UI] Tweak dashboard filters ( #10501 )
...
- "low stock" should only be shown for non-virtual parts
2025-10-06 16:28:08 +11:00
Oliver
5743e22501
Partial build output complete ( #10499 )
...
* Handle partial completion of build output
* Add 'quantity' field to BuildOutputComplete API endpoint
* Allow partial scrapping of build outputs
* Adjust column text
* Adjust "complete build output" form
* Change order of operations when completing build output
- Run validation checks *before* potentially splitting stock item
* Extract quantity from serializer
* Documentation
- Update screenshots
- Add note on partial completion
- Add note on partial scrapping
* Update CHANGELOG.md
* Update API version
* Add unit test for partial scrapping
* Tweak text
* Unit test for partial output completion
* Fix validation check for quantity field
* Adjust playwright tests
2025-10-06 14:30:07 +11:00
Matthias Mair
946418e175
refactor(backend): fix remaining undocumented path based serializer mutations ( #10495 )
...
* fix remaining undocumented path based serializer mutations
closes #9481
* bump api_version
* fix indention
* add description for filter
* fix missing OutputOptions
* fix default description lookup
2025-10-06 11:21:36 +11:00
Matthias Mair
d7b4997da2
refactor(backend): move serializer context enrichment to mixin ( #10456 )
...
* add output options for PurchaseOrder, SalesOrder, and ReturnOrder endpoints
* add output options for PurchaseOrder, SalesOrder, and ReturnOrder endpoints
* add serializer context handling and update sales order fixture with additional line item
* bump API version to 398 and update output options tests for PurchaseOrder endpoint
* refactor(backend): move serializer context enrichtment to mixin
* cleanup other get_serializer instances
* add output options tests for SalesOrder and ReturnOrder detail endpoints
* fix typo
* fix api
---------
Co-authored-by: Silver <reza.sh.7798@gmail.com>
2025-10-06 09:04:06 +11:00
Lukas
66a488b6a2
Machine properties and periodic ping ( #10381 )
...
* add machine properties
* remove non working polyfill
* add periodic task
* add tests and docs
* fix ping task
* add int and float type
* Update api_version.py
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-10-06 09:01:53 +11:00
Steve Groesz
2e7e8d5eee
add duplicate part action to parts table ( #10481 )
...
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-05 23:11:48 +11:00
Joe Rogers
0dd38dbca4
Add to serializers to fix missing return types in config/flags schema ( #10486 )
...
* Add serializer fields to fix missing return types in schema
* Bump api version
* Fix api version bump
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-10-05 22:36:27 +11:00
Oliver
b370d54394
Fix rendering for custom status values ( #10492 )
...
- Improve field lookup priority
2025-10-05 22:34:47 +11:00
Hamza Ali
4635ea9443
feat(ui/choice field): select old content on click, auto select first row ( #10485 )
...
closes #10468 , #10470
2025-10-05 18:43:17 +11:00
Reza
65c8af427f
Refactor API endpoint: Order (6/6) ( #10445 )
...
* add output options for PurchaseOrder, SalesOrder, and ReturnOrder endpoints
* add output options for PurchaseOrder, SalesOrder, and ReturnOrder endpoints
* add serializer context handling and update sales order fixture with additional line item
* bump API version to 398 and update output options tests for PurchaseOrder endpoint
* add output options tests for SalesOrder and ReturnOrder detail endpoints
* fix typo
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-10-05 17:51:49 +11:00
Reza
66e6d184ea
Refactor API Endpoint: Stock (5/6) #10444 – Fix Missing OutputOptions in StockList ( #10487 )
...
* feat: add output options to Stock API and corresponding tests
* feat: update API version text with recent refactor details
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-10-05 16:33:05 +11:00
Matthias Mair
16e8f27872
bump contianer / dev dependencies too ( #10472 )
...
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-04 22:00:14 +10:00
Matthias Mair
c070f25d7c
chore(backend): improve error message in api tests ( #10464 )
...
* fix mysql apply order
* improve error message capabilites for InvenTreeAPITestCase
* Revert "fix mysql apply order"
This reverts commit ef6d9bd99d .
* fix message
2025-10-04 21:59:38 +10:00
Reza
4f6256011b
Refactor API endpoint: Stock (5/6) ( #10444 )
...
* add output options for StockLocation and StockItemTestResult endpoints
* add output options tests for StockLocation and StockItemTestResult endpoints
* add filters for include_installed and stock_item in StockItemTestResultFilter; update tests for new filter options
* update stock test.py
* update api_version.py
* fix test_installed_tests
* Enhance error handling and add tests for stock_item and include_installed filters
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-10-04 09:19:00 +10:00
Matthias Mair
ed74c61e5c
fix: log ENV key as it needs to be set ( #10462 )
2025-10-04 08:34:44 +10:00
Reza
fa1dbb59c1
Refactor API endpoint: Company (4/6) ( #10443 )
...
* add output options for ManufacturerPart, ManufacturerPartParameter, and SupplierPriceBreak endpoints
* enhance output options for SupplierPart and SupplierPriceBreak APIs
* update api_version
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-04 08:18:37 +10:00
Reza
256f22b23d
Refactor API endpoint: Part (3/6) ( #10441 )
...
* refactor(api): cascade and category filters in PartList
* Refactor exclude and relate parts in PartFilter
* add output options for Part and BOM endpoints
* add NumericInFilter for excluding parts by ID and related parts
* refactor: clean up unused code and improve output options in API
* Bump API version to 395 and update changelog with recent endpoint refactors
* Fix formatting of API version history in api_version.py
* Update API version history dates in api_version.py
* Enhance NumericInFilter tests: add handling for non-existent IDs, empty strings, and invalid inputs
2025-10-02 21:56:41 +10:00
Matthias Mair
7638092ab8
feat(backend): releax protocol check ( #10454 )
...
* feat(backend): releax protocol check
* add changelog entry
* fix variable name
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-10-02 21:36:37 +10:00
dependabot[bot]
b8b1fabc50
chore(deps): bump django from 4.2.24 to 4.2.25 in /src/backend ( #10448 )
...
* chore(deps): bump django from 4.2.24 to 4.2.25 in /src/backend
Bumps [django](https://github.com/django/django ) from 4.2.24 to 4.2.25.
- [Commits](https://github.com/django/django/compare/4.2.24...4.2.25 )
---
updated-dependencies:
- dependency-name: django
dependency-version: 4.2.25
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix style
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-10-02 20:35:10 +10:00
Reza
ae14c65c7c
Refactor API endpoint: Build (2/6) ( #10438 )
...
* feat: add output options for BuildLine and BuildItem endpoints
* enhance output options for BuildLine and BuildItem endpoints with detailed descriptions and tests
* update test
* .
* update API version to v394 and modify related build fixtures and tests
* create separate build_line.yaml fixture
* .
* roll back context in BuildLineMixin
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-10-02 16:48:09 +10:00
Oliver
7b2b174ab2
Bump required query time for testing ( #10451 )
...
Note: In "real life" the query does not take this long
2025-10-02 13:40:42 +10:00
Oliver
bfd32c9864
[UI] Fix total price for Purchase Order table ( #10450 )
...
- Closes https://github.com/inventree/InvenTree/issues/10442
2025-10-02 11:24:10 +10:00
github-actions[bot]
f84626a858
New Crowdin translations by GitHub Action ( #10343 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-02 09:57:49 +10:00
Matthias Mair
f01455411a
move tests to api mocking to remove jitter in ci ( #10447 )
...
closes #10446
2025-10-02 09:54:31 +10:00
Reza
40700dfbcf
Refactor API endpoint: Users (1/6) ( #10437 )
...
* Enhance Owner model filtering with optimized search and active status filtersI
* enhance output options for Group API endpoints and add tests for GroupDetail
* update api_version
2025-10-01 16:23:35 +10:00
Oliver
3527e1a359
[Report] Queryset ordering ( #10439 )
...
* docs
* Add new helper
* Update CHANGELOG
2025-10-01 15:57:07 +10:00
Oliver
7e4d1684ed
Improved error message ( #10433 )
2025-09-30 11:21:02 +10:00
Oliver
867cd24088
Improve printing actions ( #10430 )
...
- Ensure correct items are specified
2025-09-30 09:48:24 +10:00
Oliver
3aaa149956
Translate each language to their own language ( #10419 )
...
* Translate each language to their own language
* Playwright tests
2025-09-29 15:22:38 +10:00
Oliver
b0a60ed963
[UI] Consume tracked ( #10422 )
...
* Prevent manual consumption of tracked stock
* Prevent manual consuming of trackable items
2025-09-29 13:52:35 +10:00
Oliver
fc0ec12afe
[UI] Icon improvements ( #10423 )
...
* [UI] Icon improvements
- Improve build output icons for "scrap" and "cancel"
* Update docs
2025-09-29 13:09:20 +10:00
Oliver
3242a00fef
Fix incorrect type hints ( #10417 )
2025-09-28 16:24:49 +10:00
Oliver
bcc386aecf
Fix locale formatting for calendar display ( #10418 )
...
- Cannot accept underscore
2025-09-28 14:01:34 +10:00
Oliver
922827227c
[UI] Top level text ( #10406 )
...
* Adjust top-level parts page
* Adjust top level stock page
* Fix playwright tests
* Tweak playwright test
2025-09-27 17:10:43 +10:00
Oliver
230e1edc00
Add info badge to part renderer ( #10409 )
...
- Show extra information about ordering and building
- Closes https://github.com/inventree/InvenTree/issues/10380
2025-09-27 14:16:13 +10:00
Oliver
e897222e07
[UI] Enable printing of build lines ( #10403 )
...
* [UI] Enable printing of build lines
- Closes https://github.com/inventree/InvenTree/issues/10402
* Prevent cell click action
2025-09-27 14:15:04 +10:00
Oliver
1279001d8e
Improve typing ( #10408 )
...
* Improve typing
- build/models.py
* More typing
2025-09-27 14:14:50 +10:00
Oliver
6fdc6b3a8c
[bug] Auto allocate bugfix ( #10398 )
...
* Fix "unallocated_quantity" calculation
- Take "consumed" quantity into account also
* Account for consumed quantity in:
- build.is_fully_allocated
- build.is_overallocated
* Additional unit tests
- Ensure the new calculations work properly
* Adjust API filter
* Try splitting query
* Another fix
* Try ExpressionWrapper
* Change order of operations?
* Refactor
* Adjust filtering strategy
* Change ordering
* Use Max wrapper
* Add comments
2025-09-27 10:10:16 +10:00
Oliver
52be30eef5
Fix typo ( #10400 )
2025-09-26 12:17:51 +10:00
Oliver
1670523dab
Tweak build line table ( #10397 )
...
- Show allocated quantity even if fully consumed
- Handles edge case where fully consumed but more stock allocated
2025-09-26 11:27:52 +10:00
Matthias Mair
eb18c0b172
feat(forntend): Re-Add About link to main nav dropdown ( #10395 )
...
* Re-Add About link to main nav dropdown
Closes #10392
* disable text selection on most of version dialog - maybe that helps ppl. copying the right section
* highlight the correct copy button
2025-09-26 10:51:24 +10:00
Matthias Mair
4794d69687
fix: correct user deletion ( #10385 )
...
* Ensure all user sessions are cleared
* remove double warning text on user delete
2025-09-24 10:22:36 +10:00
Reza
4681cbbfef
Refactor query parameters handling for SupplierPart and StockList endpoints ( #10374 )
...
* refactor output options for SupplierPart endpoints
* Add output options schema generation and corresponding tests for SupplierPart
* Bump API version to 392 and update version history; remove unused parameters in SupplierPartMixin
* Update API version to 392 and adjust version history with new release date
* Enhance output options handling in SupplierPart API
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-09-24 09:15:28 +10:00
Oliver
a7b1b9d523
Hide "consume" action when not viewed from build page ( #10378 )
2025-09-23 12:08:13 +10:00
gunstr
e6161686e7
Show revision in stock item details ( #10371 )
2025-09-22 07:44:57 +10:00
Oliver
a18771bcba
[UI] Part test result table ( #10368 )
...
* Add generic test result table for part
* Adjust table identifier
* Additional table filters
* Update permissions
* Consolidate naming
* Tweak playwright tests
2025-09-21 12:34:14 +10:00
Oliver
2f357587bc
Handle null user case ( #10362 )
2025-09-20 12:56:28 +10:00
Oliver
bbfdcdce73
Support import of "choice" fields ( #10361 )
...
- Perform reverse lookup of display value
2025-09-20 10:16:10 +10:00
Matthias Mair
c9e74c5910
Adress minor dep issues ( #10359 )
...
* fix django version
* bump @vanilla-extract/vite-plugin to adress https://github.com/inventree/InvenTree/security/dependabot/226
2025-09-20 09:13:02 +10:00
dependabot[bot]
dcd2fcfd93
chore(deps): bump the dependencies group across 2 directories with 10 updates ( #10358 )
...
* chore(deps): bump the dependencies group across 2 directories with 10 updates
Bumps the dependencies group with 2 updates in the /docs directory: [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) and [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings ).
Bumps the dependencies group with 8 updates in the /src/backend directory:
| Package | From | To |
| --- | --- | --- |
| [blessed](https://github.com/jquast/blessed ) | `1.21.0` | `1.22.0` |
| [django-cors-headers](https://github.com/adamchainz/django-cors-headers ) | `4.7.0` | `4.9.0` |
| [docutils](https://github.com/rtfd/recommonmark ) | `0.22` | `0.22.1` |
| [feedparser](https://github.com/kurtmckee/feedparser ) | `6.0.11` | `6.0.12` |
| [grpcio](https://github.com/grpc/grpc ) | `1.74.0` | `1.75.0` |
| [sentry-sdk](https://github.com/getsentry/sentry-python ) | `2.35.1` | `2.38.0` |
| [whitenoise](https://github.com/evansd/whitenoise ) | `6.9.0` | `6.11.0` |
| [ty](https://github.com/astral-sh/ty ) | `0.0.1a20` | `0.0.1a21` |
Updates `mkdocs-material` from 9.6.18 to 9.6.20
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases )
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.6.18...9.6.20 )
Updates `mkdocstrings[python]` from 0.30.0 to 0.30.1
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases )
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.30.0...0.30.1 )
Updates `blessed` from 1.21.0 to 1.22.0
- [Release notes](https://github.com/jquast/blessed/releases )
- [Changelog](https://github.com/jquast/blessed/blob/master/docs/history.rst )
- [Commits](https://github.com/jquast/blessed/compare/1.21.0...1.22.0 )
Updates `django-cors-headers` from 4.7.0 to 4.9.0
- [Changelog](https://github.com/adamchainz/django-cors-headers/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/adamchainz/django-cors-headers/compare/4.7.0...4.9.0 )
Updates `docutils` from 0.22 to 0.22.1
- [Changelog](https://github.com/readthedocs/recommonmark/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rtfd/recommonmark/commits )
Updates `feedparser` from 6.0.11 to 6.0.12
- [Release notes](https://github.com/kurtmckee/feedparser/releases )
- [Changelog](https://github.com/kurtmckee/feedparser/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/kurtmckee/feedparser/compare/6.0.11...v6.0.12 )
Updates `grpcio` from 1.74.0 to 1.75.0
- [Release notes](https://github.com/grpc/grpc/releases )
- [Changelog](https://github.com/grpc/grpc/blob/master/doc/grpc_release_schedule.md )
- [Commits](https://github.com/grpc/grpc/compare/v1.74.0...v1.75.0 )
Updates `sentry-sdk` from 2.35.1 to 2.38.0
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/2.35.1...2.38.0 )
Updates `whitenoise` from 6.9.0 to 6.11.0
- [Changelog](https://github.com/evansd/whitenoise/blob/main/docs/changelog.rst )
- [Commits](https://github.com/evansd/whitenoise/compare/6.9.0...6.11.0 )
Updates `ty` from 0.0.1a20 to 0.0.1a21
- [Release notes](https://github.com/astral-sh/ty/releases )
- [Changelog](https://github.com/astral-sh/ty/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ty/compare/0.0.1-alpha.20...0.0.1-alpha.21 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-version: 9.6.20
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: mkdocstrings[python]
dependency-version: 0.30.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: blessed
dependency-version: 1.22.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: django-cors-headers
dependency-version: 4.9.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: docutils
dependency-version: 0.22.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: feedparser
dependency-version: 6.0.12
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: grpcio
dependency-version: 1.75.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-version: 2.38.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: whitenoise
dependency-version: 6.11.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: ty
dependency-version: 0.0.1a21
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix style
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-09-20 08:10:38 +10:00
Oliver
f4333bd83f
Improved error handling ( #10352 )
...
- Closes https://github.com/inventree/InvenTree/issues/10338
2025-09-19 18:20:40 +10:00
Matthias Mair
4b0acad518
fix(backend): better siteurl testing in middleware ( #10335 )
...
* fix(backend): simplify siteurl testing
* add multi-site test
* pass off site_url check if more than one trusted origin is set
* split up testing
* add temporary debug info
* fix test enviorment
2025-09-19 18:18:03 +10:00
Oliver
843dd92901
[UI] Display Stock link ( #10350 )
...
- Display "link" for stock item
2025-09-19 10:24:31 +10:00
Jacob Felknor
fd57b5354b
fix bug I introduced with automatic EmailAddress creation for LDAP users ( #10347 )
2025-09-19 07:23:44 +10:00
github-actions[bot]
d1a05f84bc
New Crowdin translations by GitHub Action ( #10332 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-18 13:20:15 +10:00
Oliver
df0e27bed2
UI panels fix ( #10341 )
...
* Tweak sample plugin
* Re-fetch panels when instance changes
* Unit test fix
2025-09-18 13:19:47 +10:00
Matthias Mair
21cb488eef
feat(backend): add typechecking with ty ( #9664 )
...
* Add ty for type checking
* fix various typing issues
* fix req
* more fixes
* and more types
* and more typing
* fix imports
* more fixes
* fix types and optional statements
* ensure patch only runs if it is installed
* add type check to qc
* more fixes
* install all reqs
* fix more types
* more fixes
* disable container stuff for now
* move typecheck to seperate job
* try to use putput for path
* use env instead
* fix typo
* add missing install
* remove unclear imports - not sure why this was done
* add kwarg names
* fix introduced issue in url call
* ignore import
* fix broken typing changes
* fix filter import
* reduce change set
* remove api-change
* fix dict
* ignore typing errors
* fix more type issues
* ignore errors
* style fix
* fix type
* bump ty
* fix more
* type fixes
* update ignores
* fix import
* fix defaults
* fix ignore
* fix some issues
* fix type
2025-09-17 21:30:02 +10:00
Oliver
f057247fc1
Fix for RenderStockItem ( #10336 )
...
- Handle case where serial number is empty string
2025-09-17 13:36:59 +10:00