Revised the imports in accounting.views and accounting.converters in the accounting application.
This commit is contained in:
parent
6691e3db2b
commit
0ff6076b36
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
from django.utils.translation import pgettext
|
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
|
from mia_core.period import Period
|
||||||
|
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
"""
|
"""
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
from django.conf import settings
|
||||||
from django.db.models import Sum, Case, When, F, Q
|
from django.db.models import Sum, Case, When, F, Q
|
||||||
from django.db.models.functions import TruncMonth, Coalesce
|
from django.db.models.functions import TruncMonth, Coalesce
|
||||||
from django.http import HttpResponseRedirect
|
from django.http import HttpResponseRedirect
|
||||||
@ -29,11 +30,9 @@ from django.utils import dateformat, timezone
|
|||||||
from django.utils.translation import pgettext
|
from django.utils.translation import pgettext
|
||||||
from django.views.decorators.http import require_GET
|
from django.views.decorators.http import require_GET
|
||||||
|
|
||||||
from accounting.models import Record, Transaction, Account, \
|
from .models import Record, Transaction, Account, RecordSummary
|
||||||
RecordSummary
|
from .utils import ReportUrl, get_cash_accounts, get_ledger_accounts, \
|
||||||
from accounting.utils import ReportUrl, get_cash_accounts, get_ledger_accounts, \
|
|
||||||
find_imbalanced, find_order_holes
|
find_imbalanced, find_order_holes
|
||||||
from mia import settings
|
|
||||||
from mia_core.digest_auth import digest_login_required
|
from mia_core.digest_auth import digest_login_required
|
||||||
from mia_core.period import Period
|
from mia_core.period import Period
|
||||||
from mia_core.utils import Pagination, get_multi_lingual_search
|
from mia_core.utils import Pagination, get_multi_lingual_search
|
||||||
|
Loading…
Reference in New Issue
Block a user