Added 'Custom Exchange Rate' boolea setting

Removed Fixer.io exchange rate backend
This commit is contained in:
eeintech committed 2021-05-25 11:19:07 -04:00
1 parent 654d4ecf46
commit 93bfe4c5f1
7 files changed
+29 -66

No files matched your search

+7
View File
@@ -87,6 +87,13 @@ class InvenTreeSetting(models.Model):
'choices': djmoney.settings.CURRENCY_CHOICES,
},
'CUSTOM_EXCHANGE_RATES': {
'name': _('Custom Exchange Rates'),
'description': _('Enable custom exchange rates'),
'validator': bool,
'default': False,
},
'INVENTREE_DOWNLOAD_FROM_URL': {
'name': _('Download from URL'),
'description': _('Allow download of remote images and files from external URL'),