* [UI] Row hover (#9465)
* Add red color
* Improve table cursor
- Show "pointer" (hand) icon when actions available
- Improve context menu
* Fix import
* Adjust allowed CORS headers
* Disable caching in template preview
(cherry picked from commit c4f98cd6a1fd0eecb7c702c6588b007395f2d001)
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>
* Fix for editing stock location
* Fix for editing part category
(cherry picked from commit 8997f193c925e5b31e4deace56167ac45cf599d2)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* 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
- 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 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
- Graphs like numbers, not strings, I guess...
(cherry picked from commit 0c56a3132ba7a739f2d8401fa472376ae622c7ea)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Unit test for SalesOrder data migration
* make field checks more stable
* Adjust migration strategy
* Fix for data migration
* Simplify login test for playwright
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
(cherry picked from commit a13f5681a1a65eec9a59892cd53fc6d929703996)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Include location detail in build output table
* Raise validation error if trying to split an in-production item
(cherry picked from commit 68d3620bb2c0f6444d168ad3ee7779f21e9f4bc0)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Increase upload timeout for attachments
* Increase default API timeout
- To account for distant connections
* Use longer timeout when uploading files
* Debug for RTD testing
* Adjust commit extraction
* Cleanup debug output
* Include more vars in output
* Move debug output to top of file
* Add useful link
(cherry picked from commit c7e960728d38c6929cd72a5c4e0c4e64344f1856)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Fix REST registration endpoint (#8738)
* Re-add html account base
Fixes#8690
* fix base template
* override dj-rest-auth pattern to fix fixed token model reference
* pin req
* fix urls.py
* move definition out to separate file
* fix possible issues where email is not enabled but UI shows that registration is enabled
* fix import order
* fix token recovery
* make sure registration redirects
* fix name change
* fix import name
* adjust description
* cleanup
* bum api version
* add test for registration
* add test for registration requirements
* fix merge issues
* fix merge from https://github.com/inventree/InvenTree/pull/8724
* Refactor form fields
- Allow error message to be passed through via field definition
- Return error information to onFormError
* Fix debounce issue for text fields
* Fix for useForm hook
* Badge fix
- Fix badge rendering for SalesOrderShipment
* Cleanup unit test
(cherry picked from commit aabcf52cd26a15c8338d47c8337d2587d8c2d37e)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Fix badge rendering for SalesOrderShipment
(cherry picked from commit 130bc84b4452db4e479477faf8b04b80a6b8e15c)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Extra null check in SettingList.tsx
* Null checks on error responses
(cherry picked from commit 378d69f0b36db3a35b65857a10cf9f56f64eda85)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Add helper function for displaying API error message
* Provide feedback on image upload
* Update notification
(cherry picked from commit 1eaf3a4594b404e08e52bebeef3fd3952d40b0bc)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Retain data when updating a single record
- Fixes https://github.com/inventree/InvenTree/issues/8693
(cherry picked from commit 1910612725b3db8b42b014dbf5f13d86dce0f059)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* API fixes for SupplierPart
- Move API filtering into SupplierPartFilter class
- Correct field annotation for detail view
* Add "in stock" and "no stock" badges to SupplierPart detail
* Update details
* Annotate 'on_order' quantity for SupplierPart
* Add "has_stock" filter to SupplierPart API
* Improve API query efficiency
* Add 'has_stock' filter to table
* Update <SupplierPartDetail>
* Bump API version