From 64b9c8c11faac967294a7df030b9289aa26a4f76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Fri, 9 Jun 2023 05:45:50 +0800 Subject: [PATCH] Removed an excess property declaration in the populate_obj method of the JournalEntryForm form. --- src/accounting/journal_entry/forms/journal_entry.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/accounting/journal_entry/forms/journal_entry.py b/src/accounting/journal_entry/forms/journal_entry.py index c75fc92..c8884ec 100644 --- a/src/accounting/journal_entry/forms/journal_entry.py +++ b/src/accounting/journal_entry/forms/journal_entry.py @@ -151,7 +151,6 @@ class JournalEntryForm(FlaskForm): is_new: bool = obj.id is None if is_new: obj.id = new_id(JournalEntry) - self.date: DateField self.__set_date(obj, self.date.data) obj.note = self.note.data