mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
naming refactor
This commit is contained in:
parent
66c1e9c97d
commit
983255a05e
@ -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
|
||||
|
||||
|
@ -24,7 +24,7 @@ def currency_code_default():
|
||||
return code
|
||||
|
||||
|
||||
def currency_codes():
|
||||
def currency_code_mappings():
|
||||
"""
|
||||
Returns the current currency choices
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user