Replace absolute imports with relative imports

This commit is contained in:
2026-04-05 21:20:37 +08:00
parent 674b0de3b2
commit cca3f89bf1
64 changed files with 366 additions and 389 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
# The Mia! Accounting Project.
# Author: imacat@mail.imacat.idv.tw (imacat), 2023/1/30
# Copyright (c) 2023-2024 imacat.
# Copyright (c) 2023-2026 imacat.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -23,9 +23,9 @@ from typing import Any
import click
import sqlalchemy as sa
from accounting import db
from accounting.models import BaseAccount, Account, AccountL10n
from accounting.utils.user import get_user_pk
from .. import db
from ..models import BaseAccount, Account, AccountL10n
from ..utils.user import get_user_pk
type AccountData = tuple[int, str, int, str, str, str, bool]
"""The format of the account data, as a list of (ID, base account code, number,