2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-02 13:28:49 +00:00

makes currency selection human-readable

This commit is contained in:
Matthias 2021-07-02 20:02:15 +02:00
parent ded0fb5353
commit 1bfa3cdd63

View File

@ -28,7 +28,7 @@ def currency_code_mappings():
""" """
Returns the current currency choices Returns the current currency choices
""" """
return [(a, a) for a in settings.CURRENCIES] return [(a, CURRENCIES[a].name) for a in settings.CURRENCIES]
def currency_codes(): def currency_codes():