2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 20:15:44 +00:00

Added 'Custom Exchange Rate' boolea setting

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

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'),