naming refactor

This commit is contained in:
matmair committed 2021-07-01 10:37:16 +02:00
1 parent 66c1e9c97d
commit 983255a05e
2 files changed
+2 -2

No files matched your search

+1 -1
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
+1 -1
View File
@@ -24,7 +24,7 @@ def currency_code_default():
return code
def currency_codes():
def currency_code_mappings():
"""
Returns the current currency choices
"""