2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-26 05:15:55 +00:00

Merge branch 'inventree:master' into price-history

This commit is contained in:
Matthias Mair
2021-05-28 12:14:03 +02:00
36 changed files with 571 additions and 113 deletions

View File

@@ -2764,7 +2764,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: