Removed the unnecessary initialization of the current user property in the transaction data model in the accounting application.

This commit is contained in:
依瑪貓 2020-08-18 10:10:17 +08:00
parent 31c1c7c35a
commit 60bcbde9b1

View File

@ -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