2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-16 09:18:10 +00:00
Commit Graph

17326 Commits

Author SHA1 Message Date
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
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
dependabot[bot]
74e368b85b chore(deps): bump the dependencies group across 1 directory with 5 updates (#10879)
* chore(deps): bump the dependencies group across 1 directory with 5 updates

Bumps the dependencies group with 5 updates in the /src/backend directory:

| Package | From | To |
| --- | --- | --- |
| [blessed](https://github.com/jquast/blessed) | `1.23.0` | `1.25.0` |
| [django-flags](https://github.com/cfpb/django-flags) | `5.0.14` | `5.1.0` |
| [pypdf](https://github.com/py-pdf/pypdf) | `6.2.0` | `6.3.0` |
| [sentry-sdk](https://github.com/getsentry/sentry-python) | `2.44.0` | `2.45.0` |
| [coverage[toml]](https://github.com/coveragepy/coveragepy) | `7.11.3` | `7.12.0` |



Updates `blessed` from 1.23.0 to 1.25.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.23...1.25)

Updates `django-flags` from 5.0.14 to 5.1.0
- [Release notes](https://github.com/cfpb/django-flags/releases)
- [Changelog](https://github.com/cfpb/django-flags/blob/main/docs/releasenotes.md)
- [Commits](https://github.com/cfpb/django-flags/compare/5.0.14...5.1.0)

Updates `pypdf` from 6.2.0 to 6.3.0
- [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.2.0...6.3.0)

Updates `sentry-sdk` from 2.44.0 to 2.45.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.44.0...2.45.0)

Updates `coverage[toml]` from 7.11.3 to 7.12.0
- [Release notes](https://github.com/coveragepy/coveragepy/releases)
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst)
- [Commits](https://github.com/coveragepy/coveragepy/compare/7.11.3...7.12.0)

---
updated-dependencies:
- dependency-name: blessed
  dependency-version: 1.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: django-flags
  dependency-version: 5.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: pypdf
  dependency-version: 6.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: sentry-sdk
  dependency-version: 2.45.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: coverage[toml]
  dependency-version: 7.12.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  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-11-24 23:36:39 +11: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