* [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>
- 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>
* Docs updates:
- Fix error related to key access
- Fix rendering of settings tables
- Add setting key as mouseover text
* Revert config
(cherry picked from commit 640d5852e479f411120c2ec876e7476d30bc8337)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Add option to disable auto-reload of dev server
* Force plugin reload
* Add unit testing for plugin reload
- Requires modifications to registry.py
(cherry picked from commit 8e8b7158b7d59c02123c5f8391f6c8d851e8d478)
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>
* Exclude "tags" fields from data import
- May reintroduce at a later date
- Currently, no support for editing tags in frontend
* Refactor
(cherry picked from commit 2575c7276c8b00f02d9d231f4679b357dd7807ec)
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>