From 446087b212d67c80e02c53d419b9e27871ff5550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Tue, 21 Mar 2023 21:15:14 +0800 Subject: [PATCH] Added the ACCOUNTING_DEFAULT_CURRENCY and ACCOUNTING_DEFAULT_IE_ACCOUNT configuration to the test site configuration, for demonstration. --- tests/test_site/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_site/__init__.py b/tests/test_site/__init__.py index c9a9f35..10061ea 100644 --- a/tests/test_site/__init__.py +++ b/tests/test_site/__init__.py @@ -50,6 +50,8 @@ def create_app(is_testing: bool = False) -> Flask: "SQLALCHEMY_DATABASE_URI": db_uri, "BABEL_DEFAULT_LOCALE": "en", "ALL_LINGUAS": "zh_Hant|正體中文,en|English,zh_Hans|简体中文", + "ACCOUNTING_DEFAULT_CURRENCY": "USD", + "ACCOUNTING_DEFAULT_IE_ACCOUNT": "1111-001", "ACCOUNTING_RECURRING": ( "debit|1314-001|Pension|Pension for {last_month_name}," "debit|6262-001|Health insurance"