mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 19:15:41 +00:00
naming refactor
This commit is contained in:
@ -41,7 +41,7 @@ class InvenTreeURLField(models.URLField):
|
|||||||
def money_kwargs():
|
def money_kwargs():
|
||||||
""" returns the database settings for MoneyFields """
|
""" returns the database settings for MoneyFields """
|
||||||
kwargs = {}
|
kwargs = {}
|
||||||
kwargs['currency_choices'] = common.settings.currency_codes()
|
kwargs['currency_choices'] = common.settings.currency_code_mappings()
|
||||||
kwargs['default_currency'] = common.settings.currency_code_default
|
kwargs['default_currency'] = common.settings.currency_code_default
|
||||||
return kwargs
|
return kwargs
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ def currency_code_default():
|
|||||||
return code
|
return code
|
||||||
|
|
||||||
|
|
||||||
def currency_codes():
|
def currency_code_mappings():
|
||||||
"""
|
"""
|
||||||
Returns the current currency choices
|
Returns the current currency choices
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user