From 5c4f6017b85bd24d0d1706e935949eb9d5eda24b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Fri, 24 Mar 2023 09:13:26 +0800 Subject: [PATCH] Removed the redundant partial time in the query_values pseudo property of the JournalEntryLineItem data model. They are redundant since it is always partial match now. --- src/accounting/models.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/accounting/models.py b/src/accounting/models.py index a5b29a2..aee909a 100644 --- a/src/accounting/models.py +++ b/src/accounting/models.py @@ -773,11 +773,6 @@ class JournalEntryLineItem(db.Model): journal_entry_day: date = self.journal_entry.date description: str = "" if self.description is None else self.description return [description, - str(journal_entry_day.year), - "{}/{}".format(journal_entry_day.year, - journal_entry_day.month), - "{}/{}".format(journal_entry_day.month, - journal_entry_day.day), "{}/{}/{}".format(journal_entry_day.year, journal_entry_day.month, journal_entry_day.day),