- Can lead to unintended consequences where REPORT_DEBUG_MODE toggles
(cherry picked from commit 2557383892)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Enable existing_image on PATCH requests
* Fix CI problems
* Solution
* Change check to whitelist and add unit tests
(cherry picked from commit 9db3efa085)
Co-authored-by: Lavissa <lavissawow@gmail.com>
* Check template name when rendering also
* Update i18n.py
Enforce stringiness
(cherry picked from commit b42f3de357)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
When mounting volumes into containers with SELinux
enabled on the host the z option must be specified
(cherry picked from commit 0a94758d63)
Co-authored-by: Philipp Fruck <dev@p-fruck.de>
* Fix check for static dir
* Fix export price field for SalesOrderLineItem
* Automatically detect which non-nullable fields need conversion
* Fix bug during import
- fulfilled_quantity and allocated_quantity must have a pk
- Cannot work before imported!
* Add tme barcode CPO field
* Fix LCSC order number field
* Fix mouser order number field
* Fix get_purchase_orders logic
* Refine get_purchase_orders logic
* Slightly refactor get_purchase_orders logic
- Create Resource class which uses InvenTreeResource base
- Ensure 'units' field is converted to string if empty
- Handle null choices field in PartParameterTemplate model
(cherry picked from commit a23235400d)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Patch for django-allauth 0.55.0
- Some breaking changes here
- Add logger error if auth provider cannot be imported
- Fix for API endpoints
* Only provide URLs for configured plugins
* Update for django-allauth 0.56.0
- Remove support for keycloak
- Remove example from configuration template
* Update django-allauth in requirements.txt
* Update requirements.in
* Refactor SSO functions into common file
* Update config template file
* Update docs
* Fix template files
* Log SSO exceptions to the database
- WIll help greatly with debugging installs
* Add note about error handling in docs
(cherry picked from commit a63529a9cf)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Add debug print statements
* Add more debug prints
* Upate unit test
- Use global variables to ensure correct error is raised
- collect() does not always collect in the same "order"
* Update useTable hook
- Storage for "selected rows"
- Aim is to make row selection available outside table component
* Use updated hook to manage row selection
* Add more table data to useTable:
- hidden column selection
- search terms
* Remove unused import
* Remove unused function
* Cleanup
* Bug fix for BarcodePOReceive endpoint
- Existing scan must match "stockitem" to raise an error
* bug fix: barcode.js
- Handle new return data from barcode scan endpoint
* Add barcode endpoint for allocating stock to sales order
* Improve logic for preventing over allocation of stock item to sales order
* Test for sufficient quantity
* Bump API version
* Bug fix and extra check
* Cleanup unit tests
* Add unit testing for new endpoint
* Add blank page for app sales orders docs
* Add docs for new barcode features in app
* Fix unit tests
* Remove debug statement