From 56b23389d3a3188315b119b7dbac971f40419780 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 30 Jun 2021 23:54:56 +0200 Subject: [PATCH] missed the settings definition --- InvenTree/common/models.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/InvenTree/common/models.py b/InvenTree/common/models.py index ca60c1bf9a..55dc760d55 100644 --- a/InvenTree/common/models.py +++ b/InvenTree/common/models.py @@ -82,6 +82,13 @@ class InvenTreeSetting(models.Model): 'default': '', }, + 'INVENTREE_DEFAULT_CURRENCY': { + 'name': _('Default Currency'), + 'description': _('Default currency'), + 'default': 'USD', + 'choices': CURRENCY_CHOICES, + }, + 'INVENTREE_DOWNLOAD_FROM_URL': { 'name': _('Download from URL'), 'description': _('Allow download of remote images and files from external URL'),