* FIx for URL validation
* Further fixes
(cherry picked from commit 8d48f9cecdfbd64170f72d814c7c666461eaf7bc)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* [UI] Row hover (#9465)
* Add red color
* Improve table cursor
- Show "pointer" (hand) icon when actions available
- Improve context menu
* Fix import
* Updated type hints
* Fix tooltip bug
* Check user when sending notification
* Fix test
* Update unit test
* More unit test fixes
* Tweak playwright tests
* Adjust allowed CORS headers
* Disable caching in template preview
(cherry picked from commit c4f98cd6a1fd0eecb7c702c6588b007395f2d001)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* 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>
* [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>
* 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>
* 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
* Fix for editing stock location
* Fix for editing part category
(cherry picked from commit 8997f193c925e5b31e4deace56167ac45cf599d2)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* [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
* 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
- Getting flodded with reports of users misapplied template filters
(cherry picked from commit 017d96f64ebdef18dc6e11647f9aba93e7dddf90)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* [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>
- Retain user selection for pageSize
(cherry picked from commit 8cee2e36ca501d8abd9727726bd64e39d3133a35)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* 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>
* 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>
* 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
- Use StockItem ID correctly
- Provide line ID
(cherry picked from commit f27a84a7e59aad3b6301eb127f4fb44b689c3ca9)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Prevent shadow overwrite of default_values dict
- Remove dead code
(cherry picked from commit 7049e84ac3bb07bb476a4307bb29d5edaee40dd3)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>