2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-10-23 17:37:38 +00:00
Commit Graph

17179 Commits

Author SHA1 Message Date
Matthias Mair
504eff0fd7 Remove project_code filter from BuildSerializer
Removed project_code filter from BuildSerializer.
2025-10-20 07:05:18 +02:00
Matthias Mair
0dabc04e0b ignore in coverage 2025-10-18 22:03:53 +02:00
Matthias Mair
72286c01ea enable controlling query parameters per field 2025-10-18 22:01:33 +02:00
Matthias Mair
8a178e609e Merge branch 'master' into filtered-testing 2025-10-18 21:50:58 +02:00
Matthias Mair
8c5aaaabd1 make check and test more robust 2025-10-18 21:50:29 +02:00
Matthias Mair
874be9920d Setup: allow more python versions (#10615)
* extend supported python versions

* bump max python
2025-10-19 06:07:27 +11:00
Matthias Mair
b29860e34d improve check 2025-10-18 18:43:00 +02:00
Matthias Mair
fe1799d811 add more INVE-I2 checks 2025-10-18 18:42:37 +02:00
Matthias Mair
38c3be4396 make check more robust 2025-10-18 18:41:36 +02:00
Matthias Mair
631911a872 reduce diff 2025-10-18 13:59:58 +02:00
Matthias Mair
602058107e Merge branch 'master' of https://github.com/inventree/InvenTree into filtered-testing 2025-10-18 13:47:25 +02:00
Matthias Mair
290b4f7d2e test failure modes 2025-10-18 13:45:26 +02: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
Matthias Mair
f246d94fc6 Merge branch 'master' into filtered-testing 2025-10-17 08:58:03 +02: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
Matthias Mair
9ecf251716 enable previously disabled filters 2025-10-17 02:41:06 +02:00
Matthias Mair
037db06f27 enable query based filtering 2025-10-17 02:37:22 +02:00
Matthias Mair
1b2ce89c42 Add generic test for serializer 2025-10-17 02:35:57 +02: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
Matthias Mair
28886083e3 fix ref calc 2025-10-15 00:57:49 +02:00
Matthias Mair
4ef24cae4a simplify more 2025-10-15 00:12:06 +02: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
Matthias Mair
6549ad63b1 adjust naming and docs, add typing to clean stuff up 2025-10-15 00:05:25 +02:00
Matthias Mair
88fcc27062 fix style 2025-10-14 23:08:03 +02:00
Matthias Mair
27ed511092 remove new duplication 2025-10-14 22:31:40 +02:00
Matthias Mair
4a1f805840 re-add missing schema generation exception 2025-10-14 22:21:58 +02:00
Matthias Mair
96d56b31ef Merge branch 'master' of https://github.com/inventree/InvenTree into make-fields-filterable 2025-10-14 22:09:13 +02:00
Matthias Mair
83e1a44d5a remove generalize addition 2025-10-14 22:08:55 +02:00
Matthias Mair
1ea7e36a6c generalize addition 2025-10-14 21:12:54 +02:00
Matthias Mair
016ca1563f add option to ignore special cases 2025-10-14 21:12:40 +02:00
Matthias Mair
f30f41ef5d fix list serializer 2025-10-14 21:00:31 +02:00
Matthias Mair
ff307e70ee make safer to use with various sanity checks 2025-10-14 12:57:50 +02:00
Matthias Mair
70df5cc89a make application of PathScopedMixin more intentional -> more efficient 2025-10-14 06:41:34 +02: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
33ce7e39b7 disable additional tests 2025-10-14 00:43:07 +02:00
Matthias Mair
611867509b var tests 2025-10-14 00:21:38 +02:00
Matthias Mair
d33cd8e4b0 fix another test 2025-10-14 00:19:34 +02:00
Matthias Mair
bbd1393acb fix typo 2025-10-13 23:57:33 +02:00
Matthias Mair
acfe575822 simplify tests 2025-10-13 23:55:57 +02:00
Matthias Mair
3718b5e12c cleanup 2025-10-13 23:48:32 +02:00
Matthias Mair
c2f33335ea Merge branch 'make-fields-filterable' of https://github.com/matmair/InvenTree into make-fields-filterable 2025-10-13 23:48:16 +02:00