Repository navigation
Default stock currency - #10641
Merged
SchrodingersGat merged 13 commits intoOct 21, 2025
Merged
Default stock currency#10641
Conversation
- Use default currency
✅ Deploy Preview for inventree-web-pui-preview canceled.
|
Closed
1 task done
matmair
approved these changes
Oct 20, 2025
- Point currency fields to the correct default method
- Ensure stock item gets correct default currency
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #10641 +/- ##
=======================================
Coverage 87.82% 87.83%
=======================================
Files 1274 1274
Lines 57280 57288 +8
Branches 2034 2034
=======================================
+ Hits 50308 50318 +10
+ Misses 6472 6470 -2
Partials 500 500
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
SchrodingersGat
force-pushed
the
default-stock-currency
branch
from
October 20, 2025 23:33
e686553 to
9b8324d
Compare
Contributor
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
SchrodingersGat
added a commit
to SchrodingersGat/InvenTree
that referenced
this pull request
Oct 21, 2025
* Fix for useStockFields - Use default currency * Ensure default currency is observed * Specify field default * Improve import (for ty) * Update migration files - Point currency fields to the correct default method * Unit tests - Ensure stock item gets correct default currency * Cleaner generation of default currency value - Return empty string during migratoins * Update existing migrations * Reduce noise * Ignore "no-matching-overload" rule for ty * Tweak money_kwargs
This was referenced Oct 21, 2025
SchrodingersGat
added a commit
that referenced
this pull request
Oct 21, 2025
* Default stock currency (#10641) * Fix for useStockFields - Use default currency * Ensure default currency is observed * Specify field default * Improve import (for ty) * Update migration files - Point currency fields to the correct default method * Unit tests - Ensure stock item gets correct default currency * Cleaner generation of default currency value - Return empty string during migratoins * Update existing migrations * Reduce noise * Ignore "no-matching-overload" rule for ty * Tweak money_kwargs * Remove conflicting code * Fix import * Tweak currency_code_default
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ensures that the "default currency" is observed properly in stock forms.
Closes #10625