From 60bcbde9b16430f95fe60c53a477f73f48193b72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Tue, 18 Aug 2020 10:10:17 +0800 Subject: [PATCH] Removed the unnecessary initialization of the current user property in the transaction data model in the accounting application. --- accounting/models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/accounting/models.py b/accounting/models.py index fdc7874..fdeef20 100644 --- a/accounting/models.py +++ b/accounting/models.py @@ -120,7 +120,6 @@ class Transaction(DirtyFieldsMixin, BaseModel): self._is_balanced = None self._has_order_hole = None self.old_date = None - self.current_user = None def __str__(self): """Returns the string representation of this accounting