mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-02 03:30:54 +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:
@ -256,19 +256,6 @@ The "sender" email address is the address from which InvenTree emails are sent (
|
||||
!!! info "Fallback"
|
||||
If `INVENTREE_EMAIL_SENDER` is not provided, the system will fall back to `INVENTREE_EMAIL_USERNAME` (if the username is a valid email address)
|
||||
|
||||
## Supported Currencies
|
||||
|
||||
The currencies supported by InvenTree must be specified in the [configuration file](#configuration-file).
|
||||
|
||||
A list of currency codes (e.g. *AUD*, *CAD*, *JPY*, *USD*) can be specified using the `currencies` variable (or using the `INVENTREE_CURRENCIES` environment variable).
|
||||
|
||||
| Environment Variable | Configuration File | Description | Default |
|
||||
| --- | --- | --- | --- |
|
||||
| INVENTREE_CURRENCIES | currencies | List of supported currencies| `AUD`, `CAD`, `CNY`, `EUR`, `GBP`, `JPY`, `NZD`, `USD` |
|
||||
|
||||
!!! tip "More Info"
|
||||
Read the [currencies documentation](../settings/currency.md) for more information on currency support in InvenTree
|
||||
|
||||
## File Storage Locations
|
||||
|
||||
InvenTree requires some external directories for storing files:
|
||||
|
Reference in New Issue
Block a user