Renamed "journal entry" to "voucher line item", and "entry type" to "side".
This commit is contained in:
@ -100,10 +100,11 @@ def init_accounts_command(username: str) -> None:
|
||||
|
||||
|
||||
def __is_need_offset(base_code: str) -> bool:
|
||||
"""Checks that whether entries in the account need offset.
|
||||
"""Checks that whether voucher line items in the account need offset.
|
||||
|
||||
:param base_code: The code of the base account.
|
||||
:return: True if entries in the account need offset, or False otherwise.
|
||||
:return: True if voucher 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 entries of this account need offset."""
|
||||
"""Whether the the voucher 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