* [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 c4f98cd6a1)
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 66d5180d8f)
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
* 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 2cabd02c6b)
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
* 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 a13f5681a1)
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 68d3620bb2)
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 c7e960728d)
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 aabcf52cd2)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Extra null check in SettingList.tsx
* Null checks on error responses
(cherry picked from commit 378d69f0b3)
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 1eaf3a4594)
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