2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +00:00

using functions for currency codes

This commit is contained in:
2021-07-01 10:41:23 +02:00
parent 983255a05e
commit 951e8910ba
5 changed files with 15 additions and 9 deletions

View File

@ -31,6 +31,13 @@ def currency_code_mappings():
return [(a, a) for a in settings.CURRENCIES]
def currency_codes():
"""
Returns the current currency codes
"""
return [a for a in settings.CURRENCIES]
def stock_expiry_enabled():
"""