2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-27 19:16:44 +00:00

16244 Commits

Author SHA1 Message Date
github-actions[bot]
e2a092ea04
Remove trailing slash from SITE_URL (#9559) (#9560)
- ref: https://github.com/inventree/InvenTree/discussions/9552
- ref: https://stackoverflow.com/questions/56404930/when-trying-set-corsheaders-in-settings-py-file

(cherry picked from commit 527652007e934bc05476859ab3ec4fbdffb313db)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
0.17.11
2025-04-22 12:50:17 +10:00
Oliver
f2770f0711
Url fix 2 (#9548) (#9550)
* Logic fix

* Playwright test

* Revert "Playwright test"

This reverts commit a63b23961efd61f5ea5e10f7158a5bc2fd7ca11b.

* Simplify test

* Cleanup test
2025-04-21 21:56:55 +10:00
github-actions[bot]
86513844f2
Fix for URL validation (#9539) (#9540)
* FIx for URL validation

* Further fixes

(cherry picked from commit 8d48f9cecdfbd64170f72d814c7c666461eaf7bc)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-04-20 08:31:42 +10:00
Oliver
230ddd926f
Update version.py (#9468) 2025-04-07 10:15:39 +10:00
Oliver
8d206bd311
[UI] Row hover (#9465) (#9466)
* [UI] Row hover (#9465)

* Add red color

* Improve table cursor

- Show "pointer" (hand) icon when actions available
- Improve context menu

* Fix import
0.17.10
2025-04-06 15:21:17 +10:00
Oliver
cf60d809da
Notification permissions (#9449) (#9464)
* Updated type hints

* Fix tooltip bug

* Check user when sending notification

* Fix test

* Update unit test

* More unit test fixes

* Tweak playwright tests
2025-04-05 22:09:35 +11:00
github-actions[bot]
b1a264bf2a
Handle potential null header (#9462) (#9463)
(cherry picked from commit f66efa773332c0b13bf335b1bdd33ec9090bb348)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-04-05 09:52:47 +11:00
github-actions[bot]
1dd056fdf2
Wrap values() call in list to fix type error (#9460) (#9461)
(cherry picked from commit 721f56f36ea505a6ba0ab49315907aec00370520)

Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com>
2025-04-05 09:20:38 +11:00
github-actions[bot]
2a9d737157
Report cache fix (#9447) (#9448)
* Adjust allowed CORS headers

* Disable caching in template preview

(cherry picked from commit c4f98cd6a1fd0eecb7c702c6588b007395f2d001)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-04-03 15:21:57 +11:00
github-actions[bot]
00470a844c
Update overdue order notification (#9444) (#9445)
* Update overdue order notification

- Check individual line items too

* Fix typo

(cherry picked from commit 67bdf3162afed8280df3190a6eab9918c1d4a97b)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-04-03 11:30:22 +11:00
github-actions[bot]
5e26394500
Serialize stock fix (#9441) (#9443)
* Fix bug which hid the "serialize stock" button

* Add playwright tests

* Adjust check

(cherry picked from commit a18b18a3fd845593ce0a9dcd2a001b8c9c272dc3)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-04-03 09:04:15 +11:00
github-actions[bot]
3c71d62d27
Docs tweak (#9422) (#9424)
(cherry picked from commit e30786b06869ca8a211e19a0bb9979afcddf1f9a)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-03-31 19:06:54 +11:00
github-actions[bot]
d881037bde
[UI] Improve order parts wizard (#9389) (#9421)
* [UI] Improve order parts wizard

- Enhance placeholder text
- Precalculate order quantity

* Tweak playwright tests

* Simplify tests

(cherry picked from commit 66d5180d8fa1542891de848655fc77e7ce28ad82)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-03-31 18:47:50 +11:00
github-actions[bot]
9a58d87eec
fixed small bug in doc report sample templates (#9415) (#9418)
* Add part full name to supplier part table

* Add context variables for sales order report to the docs

* Added more context variables on orders to the docs

* fixed small bug in doc report sample templates

(cherry picked from commit 7b994a3d07ac92a9916f8029215465062880b081)

Co-authored-by: Michael <michael@buchmann.ruhr>
2025-03-31 07:59:19 +11:00
github-actions[bot]
1019e9cc8d
Docker updates (#9414) (#9417)
* Typo fix

* Examples to .env file

(cherry picked from commit b116e097171342f7020d00d1bc92399fd242fa1c)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-03-31 07:59:05 +11:00
Oliver
8b59d8c04a
Improve custom maintenance mode backend (#9396) (#9397)
* Improve custom maintenance mode backend (#9396)

* Improve custom maintenance mode backend

- Utilizing global settings functions
- Will use global cache if available
- Fewer DB hits per request

* Twaeak query limits

* Tweak test
2025-03-27 19:53:16 +11:00
github-actions[bot]
ccaf3459ce
use dayjs in datefield (#9380) (#9381)
(cherry picked from commit 2bd26c0f49605655aae8281e7fc0ef76e03c0546)

Co-authored-by: Jacob Felknor <jacobfelknor073@gmail.com>
2025-03-26 10:56:33 +11:00
Oliver
4987149979
Bug fix for activating plugins via UI (#9338) (#9370) 2025-03-24 22:08:38 +11:00
github-actions[bot]
02876f3c54
[UI] Edit fix (#9367) (#9368)
* Fix for editing stock location

* Fix for editing part category

(cherry picked from commit 8997f193c925e5b31e4deace56167ac45cf599d2)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-03-24 20:45:58 +11:00
Oliver
ff4df83ccd
Update version.py (#9325)
Bump version number to 0.17.10
2025-03-17 23:33:26 +11:00
Oliver
0491b10438
Tweak for data import (#9010) (#9322)
- Do not override specified default values
0.17.9
2025-03-17 23:11:31 +11:00
Oliver
92f6f8b1f7
[Bug] Import fix (#9008) (#9321)
* [Bug] mport fix (#9008)

* Better handling of request object in serializers

* Pass request object through

- Required to extract user information

* Strip column header during import

- Prevent mismatch due to whitespace

* Fix for "minimum stock" field

* Fix for part serializer

* Extract default values on import

* Remove outdated migration message

* Bump API version

* Reintroduce typo

- To prevent API change
2025-03-17 21:11:27 +11:00
github-actions[bot]
3ffbb1cfc7
Fix currency rendering (#9308) (#9310)
- Closes https://github.com/inventree/InvenTree/issues/9300

(cherry picked from commit 4eaa5880c113032cbdbfcbf5dfc25597082cc2f5)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-03-16 08:56:57 +11:00
github-actions[bot]
2f1e3817f1
Prevent sentry reporting in test mode (#9304) (#9306)
(cherry picked from commit cdb445583b8d1949d9c0294aae546c96ab1a4926)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-03-15 23:04:00 +11:00
Oliver
af0a2822d1
Call machine func (#9191) (#9298)
* Force label printing to background worker

* Refactor "check_reload" state of machine registry

- In line with plugin registry
- More work can be done here (i.e. session caching)

* Better handling of call_plugin_function

* Wrapper for calling machine function

* Use AttributeError instead

* Simplify function offloading

* Check plugin registry hash when reloading machine registry

* Cleanup

* Fixes

* Adjust unit test

* Cleanup

* Allow running in foreground if background worker not running

* Simplify call structure
2025-03-14 13:40:37 +11:00
Oliver
75420fc97e
Update version.py (#9297)
Bump version number to 0.17.9
2025-03-14 09:28:55 +11:00
Oliver
3cae0d5066
Fix asset file serving (#9295)
- Backport of https://github.com/inventree/InvenTree/pull/9292
0.17.8
2025-03-14 09:04:42 +11:00
github-actions[bot]
21d266ab95
Auto-fill currency for new supplier part (#9286) (#9287)
- Closes https://github.com/inventree/InvenTree/issues/9284

(cherry picked from commit 7a43c3a83ec145cc81fb463024dc111488c065a1)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-03-13 02:02:49 +11:00
github-actions[bot]
1ae27a6b77
Ignore sentry for TemplateSyntaxError (#9239) (#9241)
- Getting flodded with reports of users misapplied template filters

(cherry picked from commit 017d96f64ebdef18dc6e11647f9aba93e7dddf90)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-03-05 22:01:12 +11:00
github-actions[bot]
b18ac57fb8
Tracking api fix (#9238) (#9240)
* [Bug] Fix search for StockTrackingList

- Removed invalid field

* Add unit test coverage for failing condition

* Fix 'notes' field for extra line item API

(cherry picked from commit 21ae1138ceae4ec85546a6982b1d4d621b94ed77)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-03-05 22:00:47 +11:00
github-actions[bot]
053b37ec3a
Fix font size in location column (#9230) (#9231)
(cherry picked from commit d5a176c121713da4c479da57b16df3507870f797)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-03-04 23:30:28 +11:00
github-actions[bot]
6fa6063639
[UI] Table Update (#9220) (#9221)
- Retain user selection for pageSize

(cherry picked from commit 8cee2e36ca501d8abd9727726bd64e39d3133a35)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-03-03 19:16:53 +11:00
github-actions[bot]
9b68dea26d
Remove restriction on row action (#9201) (#9202)
(cherry picked from commit 92a9423c21a156dd51a4cd19a81ed57b5aa80c4b)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-02-28 16:49:41 +11:00
github-actions[bot]
9d21776c86
Add 'note' field to form (#9186) (#9188)
(cherry picked from commit 92edbf41ab2439d2c93f605cf17dc3a665bd0999)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-02-26 14:14:30 +11:00
github-actions[bot]
4c9f042f8c
Handle case of null stock location (#9183) (#9187)
(cherry picked from commit 94c2157d3c9af611b0d6e4668bb5eb2a51a01960)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-02-26 09:31:58 +11:00
github-actions[bot]
3625b8f14c
Use ref pattern on PO duplicate (#9100) (#9147)
* use ref pattern on PO duplicate

* use ref patterns on duplicate for other types of orders

* revert unintentional change to pre-commit

* add playwright tests

---------

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
(cherry picked from commit 2cabd02c6b447bed7ec8bccbdcd6115f427a451e)

Co-authored-by: Jacob Felknor <jacobfelknor073@gmail.com>
2025-02-22 20:46:00 +11:00
Oliver
cd41ca2a87
Batch code backport (#9138)
* Batch code fix (#9123)

* Fix batch code assignment when receiving items

* Add playwright tests

* Harden playwright tests

* Refactoring

* Handle undefined values

* Fix conflicts
2025-02-22 11:52:16 +11:00
github-actions[bot]
8a2fce9c36
Barcode validation fix (#9127) (#9130)
* Fix logic for adding items to SalesOrder

* Same thing for purchase orders

* Update serializers.py

Revert typo fix

- Otherwise, we need to do an API bump and the PR can't be back-ported!

(cherry picked from commit bc9dbf7df4666935ac5699c22daf04122bd78445)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-02-21 22:22:45 +11:00
github-actions[bot]
ee87cd7b23
Ignore inactive parts (#9125) (#9128)
(cherry picked from commit 6930ae712231eb26c62320c8981821b4daf4f193)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-02-21 21:06:28 +11:00
Oliver
940abaa179
[UI] Pricing chart fixes (#9119) (#9124)
* Fix default values for pricing override

* Fix broken calculation for sale pricing

- Was previously excluding COMPLETED orders

* Fix for PricingOverviewPanel

* Fix for InvenTreeMoneySerializer

- Numbers should be represented as numbers!

* Front-end wrangling too

* Fix unit test
2025-02-21 20:39:20 +11:00
Oliver
7fefa5c213
Update version.py (#9112)
Bump version number to 0.17.8
2025-02-20 11:57:56 +11:00
github-actions[bot]
28726db86f
Bug fix for receiving line item event (#9071) (#9072)
- Use StockItem ID correctly
- Provide line ID

(cherry picked from commit f27a84a7e59aad3b6301eb127f4fb44b689c3ca9)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
0.17.7
2025-02-13 14:46:55 +11:00
Oliver
eef1aad464
Update version.py (#9067)
Bump version number to 0.17.7
2025-02-12 17:14:45 +11:00
github-actions[bot]
3b6b41976f
Fix for data import (#9060) (#9065)
- Prevent shadow overwrite of default_values dict
- Remove dead code

(cherry picked from commit 7049e84ac3bb07bb476a4307bb29d5edaee40dd3)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
0.17.6
2025-02-12 07:31:16 +11:00
Oliver
407ccb7bd2
[Backport] Update supported postgres-cli version to 15 (#9042)
* Update supported postgres-cli version to 15

* Update docs
2025-02-07 13:58:40 +11:00
Oliver
d7ed114e2c
Adjust playwright testing (#9043)
* Adjust playwright testing

- Backporting critical playwright changes

* Fix for test

* Remove problematic test
2025-02-07 12:49:00 +11:00
Matthias Mair
c7a0265794
feat(backend): Improve error with missing manifest (#8957) (#9036)
* package tag results better

* Add docs for missing frontend

* better error indication
Fixes #8875

* fix test assertations

* fix test exception

* group setup admin stuff

* add operations supgourp

* add basic structure

* move error code

* fix link

* fix grammar issues

(cherry picked from commit bbeaf0e791dadcfdc77aef9ce1242d5043d1e680)

# Conflicts:
#	docs/docs/faq.md

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-02-05 13:55:04 +11:00
Oliver
5bc56c826a
Update version.py (#9019)
Bump version number

Co-authored-by: Matthias Mair <code@mjmair.com>
2025-02-05 12:52:56 +11:00
github-actions[bot]
1b42c00747
Enhance creation of default settings (#9028) (#9029)
- Remove cache requirement
- Replaces https://github.com/inventree/InvenTree/pull/9021

(cherry picked from commit 445fa45394ff843c638ebab474618735a564714f)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-02-04 23:04:01 +11:00
github-actions[bot]
0f9bddbcd2
Report bugfix (#9013) (#9014)
- Ensure default label templates exist
- Ensure default report templates exist

(cherry picked from commit 2a6434ead89443b075adf48d12afd21fbb47443b)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
0.17.5
2025-02-03 08:03:59 +11:00