naming refactor

This commit is contained in:
Matthias 2021-07-01 10:37:16 +02:00
parent 66c1e9c97d
commit 983255a05e
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -24,7 +24,7 @@ def currency_code_default():
return code
def currency_codes():
def currency_code_mappings():
"""
Returns the current currency choices
"""