setting for default currency

This commit is contained in:
Matthias 2021-06-30 23:35:57 +02:00
parent 8ee12abb50
commit 88f57a211f
2 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,7 @@ from django.db import models, transaction
from django.db.utils import IntegrityError, OperationalError
from django.conf import settings
from djmoney.settings import CURRENCY_CHOICES
from djmoney.models.fields import MoneyField
from djmoney.contrib.exchange.models import convert_money
from djmoney.contrib.exchange.exceptions import MissingRate

View File

@ -12,6 +12,13 @@
{% block settings %}
<table class='table table-striped table-condensed'>
{% include "InvenTree/settings/header.html" %}
<tbody>
{% include "InvenTree/settings/setting.html" with key="INVENTREE_DEFAULT_CURRENCY" icon="fa-globe" %}
</tbody>
</table>
<table class='table table-striped table-condensed'>
<tbody>
<tr>