Simplify exhange rate backend

This commit is contained in:
Oliver Walters committed 2021-05-27 15:45:38 +10:00
1 parent 62320e46d5
commit af1904b6e4
10 files changed
+47 -134

No files matched your search

+1 -1
View File
@@ -2675,7 +2675,7 @@ class PartSalePriceBreakCreate(AjaxCreateView):
initials['part'] = self.get_part()
default_currency = InvenTreeSetting.get_setting('INVENTREE_DEFAULT_CURRENCY')
default_currency = settings.BASE_CURRENCY
currency = CURRENCIES.get(default_currency, None)
if currency is not None: