-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Default stock currency #10641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default stock currency #10641
Conversation
- Use default currency
✅ Deploy Preview for inventree-web-pui-preview canceled.
|
- 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:
|
e686553 to
9b8324d
Compare
💔 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 |
* 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
* 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
Ensures that the "default currency" is observed properly in stock forms.
Closes #10625