InvenTree/src
Oliver 0dcb706f4c
Default stock currency (#10641) (#10644)
* 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
2025-10-21 16:29:24 +11:00
..
backend Default stock currency (#10641) (#10644) 2025-10-21 16:29:24 +11:00
frontend Default stock currency (#10641) (#10644) 2025-10-21 16:29:24 +11:00