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:
@ -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():
|
||||
"""
|
||||
|
Reference in New Issue
Block a user