2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 13:56:30 +00:00

switching out BASE_CURRENCY

This commit is contained in:
2021-06-30 23:38:48 +02:00
parent 92645d790b
commit 2c7a4a1246
6 changed files with 9 additions and 9 deletions

View File

@ -2949,7 +2949,7 @@ class PartSalePriceBreakCreate(AjaxCreateView):
initials['part'] = self.get_part()
default_currency = settings.BASE_CURRENCY
default_currency = inventree_settings.currency_code_default()
currency = CURRENCIES.get(default_currency, None)
if currency is not None: