diff --git a/InvenTree/InvenTree/fields.py b/InvenTree/InvenTree/fields.py index 6fd0637045..8d9ab77463 100644 --- a/InvenTree/InvenTree/fields.py +++ b/InvenTree/InvenTree/fields.py @@ -41,7 +41,7 @@ class InvenTreeURLField(models.URLField): def money_kwargs(): """ returns the database settings for MoneyFields """ kwargs = {} - kwargs['currency_choices'] = common.settings.currency_codes() + kwargs['currency_choices'] = common.settings.currency_code_mappings() kwargs['default_currency'] = common.settings.currency_code_default return kwargs diff --git a/InvenTree/common/settings.py b/InvenTree/common/settings.py index 9b107e9282..4d3b0c7940 100644 --- a/InvenTree/common/settings.py +++ b/InvenTree/common/settings.py @@ -24,7 +24,7 @@ def currency_code_default(): return code -def currency_codes(): +def currency_code_mappings(): """ Returns the current currency choices """