2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 20:45:44 +00:00

Currency setting (#7390)

* Add new global setting for currency options

- Moving away from external configuration
- Refactor currency support code into new file

* Refactoring

- Move functions into currency.py

* Limit choices for default currency

* Improve validation

* Adds data migration for existing currency selection

* Docs updates

* Remove currency config from external settings

* bump api version

* Add debug message

* Add unit tests

* Fix after_change_currency func

* Fix after_change_currency func

* Revert change to after_chance_currency

* Revert other change
This commit is contained in:
Oliver
2024-06-03 12:53:30 +10:00
committed by GitHub
parent 7108bc48bd
commit e83feb9414
42 changed files with 417 additions and 278 deletions

View File

@ -109,6 +109,7 @@ export default function SystemSettings() {
<GlobalSettingList
keys={[
'INVENTREE_DEFAULT_CURRENCY',
'CURRENCY_CODES',
'PART_INTERNAL_PRICE',
'PART_BOM_USE_INTERNAL_PRICE',
'PRICING_DECIMAL_PLACES_MIN',