mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-08 11:16:25 +00:00
Simplify exhange rate backend
This commit is contained in:
1 parent
62320e46d5
commit
af1904b6e4
10 files changed
+47
-134
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user