From 06e7b6ddffcfdef3108cc5bd15b83e9930366a4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Sun, 2 Apr 2023 22:41:16 +0800 Subject: [PATCH] Added the missing "is_need_offset" property to the DescriptionAccount class. --- src/accounting/journal_entry/utils/description_editor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/accounting/journal_entry/utils/description_editor.py b/src/accounting/journal_entry/utils/description_editor.py index a24f851..a136681 100644 --- a/src/accounting/journal_entry/utils/description_editor.py +++ b/src/accounting/journal_entry/utils/description_editor.py @@ -42,6 +42,8 @@ class DescriptionAccount: """The account ID.""" self.code: str = account.code """The account code.""" + self.is_need_offset: bool = account.is_need_offset + """Whether the journal entry line items of this account need offset.""" self.freq: int = freq """The frequency of the tag with the account."""