Renamed "voucher line item" to "journal entry line item".
This commit is contained in:
@ -100,11 +100,11 @@ def init_accounts_command(username: str) -> None:
|
||||
|
||||
|
||||
def __is_need_offset(base_code: str) -> bool:
|
||||
"""Checks that whether voucher line items in the account need offset.
|
||||
"""Checks that whether journal entry line items in the account need offset.
|
||||
|
||||
:param base_code: The code of the base account.
|
||||
:return: True if voucher line items in the account need offset, or False
|
||||
otherwise.
|
||||
:return: True if journal entry line items in the account need offset, or
|
||||
False otherwise.
|
||||
"""
|
||||
# Assets
|
||||
if base_code[0] == "1":
|
||||
|
@ -82,7 +82,7 @@ class AccountForm(FlaskForm):
|
||||
"""The title."""
|
||||
is_need_offset = BooleanField(
|
||||
validators=[NoOffsetNominalAccount()])
|
||||
"""Whether the the voucher line items of this account need offset."""
|
||||
"""Whether the the journal entry line items of this account need offset."""
|
||||
|
||||
def populate_obj(self, obj: Account) -> None:
|
||||
"""Populates the form data into an account object.
|
||||
|
Reference in New Issue
Block a user