Renamed the "accounting.transaction.form" module to "accounting.transaction.forms". It only contains forms now.
This commit is contained in:
parent
6ad4fba9cd
commit
1d443f7b76
@ -26,8 +26,8 @@ from flask_wtf import FlaskForm
|
|||||||
from accounting.models import Transaction
|
from accounting.models import Transaction
|
||||||
from accounting.template_globals import default_currency_code
|
from accounting.template_globals import default_currency_code
|
||||||
from accounting.utils.txn_types import TransactionType
|
from accounting.utils.txn_types import TransactionType
|
||||||
from accounting.transaction.form import TransactionForm, IncomeTransactionForm, \
|
from accounting.transaction.forms import TransactionForm, \
|
||||||
ExpenseTransactionForm, TransferTransactionForm
|
IncomeTransactionForm, ExpenseTransactionForm, TransferTransactionForm
|
||||||
|
|
||||||
|
|
||||||
class TransactionOperator(ABC):
|
class TransactionOperator(ABC):
|
||||||
|
@ -33,7 +33,7 @@ from accounting.utils.next_uri import inherit_next, or_next
|
|||||||
from accounting.utils.permission import has_permission, can_view, can_edit
|
from accounting.utils.permission import has_permission, can_view, can_edit
|
||||||
from accounting.utils.txn_types import TransactionType
|
from accounting.utils.txn_types import TransactionType
|
||||||
from accounting.utils.user import get_current_user_pk
|
from accounting.utils.user import get_current_user_pk
|
||||||
from .form import sort_transactions_in, TransactionReorderForm
|
from .forms import sort_transactions_in, TransactionReorderForm
|
||||||
from .template_filters import with_type, to_transfer, format_amount_input, \
|
from .template_filters import with_type, to_transfer, format_amount_input, \
|
||||||
text2html
|
text2html
|
||||||
from .utils.operators import TransactionOperator, TXN_TYPE_TO_OP, get_txn_op
|
from .utils.operators import TransactionOperator, TXN_TYPE_TO_OP, get_txn_op
|
||||||
|
Loading…
Reference in New Issue
Block a user