* Bug fix for allocating items to build
- Handle case where allocated quantity is less than 1
- Add unit tests
- Closes https://github.com/inventree/InvenTree/issues/6145
* Remove debug messgae
(cherry picked from commit a310437dc71ae08af30c8079532e425bc1838c7d)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Add null option to status field for stock adjustment
- Prevent stock adjustments from setting status to OK
(cherry picked from commit edd6f254111ee05a199923ce28cc24cce6b6b3e4)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Include stock_detail in BuildLine serializer by default
(cherry picked from commit cd803640a9e6ab3299e3edd69f11ee769a1eec74)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Can lead to unintended consequences where REPORT_DEBUG_MODE toggles
(cherry picked from commit 25573838921c13465bcfb8afdc7e2c030c298bab)
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 9db3efa0858fb1a9a95ab10fc4726350276a062e)
Co-authored-by: Lavissa <lavissawow@gmail.com>
* Check template name when rendering also
* Update i18n.py
Enforce stringiness
(cherry picked from commit b42f3de3577f754c76c5a8afb0d93d632cc1e439)
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 0a94758d636297832f7374be16dfa6c1a2d7f23b)
Co-authored-by: Philipp Fruck <dev@p-fruck.de>
* Specify empty OIDC prefix
Ref: https://github.com/inventree/InvenTree/discussions/6273
* Add extra comment around version information
* Update InvenTree/InvenTree/settings.py
Co-authored-by: Philipp Fruck <dev@p-fruck.de>
---------
Co-authored-by: Philipp Fruck <dev@p-fruck.de>
(cherry picked from commit d8f69c0609e1360aaf3749c62235065aa99ff462)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* 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!
- Prevent issues due to duplicate Owner objects
(cherry picked from commit c3a5d777b12307c78e35ad49c4a4e8b5b5584ff4)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* 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 a23235400d012569b882b5384d312845fdc55452)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Allows old installers to work once more
- Ref: https://github.com/inventree/InvenTree/issues/6177
(cherry picked from commit 53ac6c724de08fb94be02c18ce5222af3d323324)
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 a63529a9cf9887017a342d7a344a9b174814d8ad)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- This swtich is no longer present in `invoke update`
- Frontend installation is off by default
- Fixes https://github.com/inventree/InvenTree/discussions/6109
(cherry picked from commit 148bf0764b8221139e1b635bd76740e9829b1f34)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>