Revised the imports in accounting.views and accounting.converters in the accounting application.

This commit is contained in:
依瑪貓 2020-07-23 14:26:05 +08:00
parent 6691e3db2b
commit 0ff6076b36
2 changed files with 4 additions and 5 deletions

View File

@ -21,7 +21,7 @@
from django.utils.translation import pgettext
from accounting.models import Transaction, Record, Account
from .models import Transaction, Record, Account
from mia_core.period import Period

View File

@ -20,6 +20,7 @@
"""
import re
from django.conf import settings
from django.db.models import Sum, Case, When, F, Q
from django.db.models.functions import TruncMonth, Coalesce
from django.http import HttpResponseRedirect
@ -29,11 +30,9 @@ from django.utils import dateformat, timezone
from django.utils.translation import pgettext
from django.views.decorators.http import require_GET
from accounting.models import Record, Transaction, Account, \
RecordSummary
from accounting.utils import ReportUrl, get_cash_accounts, get_ledger_accounts, \
from .models import Record, Transaction, Account, RecordSummary
from .utils import ReportUrl, get_cash_accounts, get_ledger_accounts, \
find_imbalanced, find_order_holes
from mia import settings
from mia_core.digest_auth import digest_login_required
from mia_core.period import Period
from mia_core.utils import Pagination, get_multi_lingual_search