Moved the "accounting.journal_entry.utils.offset_alias" module to "accounting.utils.offset_alias".

This commit is contained in:
2023-04-08 07:42:30 +08:00
parent 71a20cba29
commit 5af6fd9619
5 changed files with 4 additions and 5 deletions

View File

@ -28,14 +28,13 @@ from wtforms.validators import DataRequired
from accounting import db
from accounting.forms import CurrencyExists
from accounting.journal_entry.utils.offset_alias import offset_alias
from accounting.locale import lazy_gettext
from accounting.models import JournalEntryLineItem
from accounting.utils.cast import be
from accounting.utils.offset_alias import offset_alias
from accounting.utils.strip_text import strip_text
from .line_item import LineItemForm, CreditLineItemForm, DebitLineItemForm
CURRENCY_REQUIRED: DataRequired = DataRequired(
lazy_gettext("Please select the currency."))
"""The validator to check if the currency code is empty."""