Changed the URL of the accounts in the balance sheet so that the net income in the current period links to the income statement in the accounting application.

This commit is contained in:
依瑪貓 committed 2020-07-21 13:38:18 +08:00
1 parent 3c294ffcb8
commit bbfe9e7892
3 files changed
+24 -7

No files matched your search

+10
View File
@@ -67,6 +67,16 @@ class Account(models.Model):
def title(self, value):
self._title = value
_url = None
@property
def url(self):
return self._url
@url.setter
def url(self, value):
self._url = value
class Meta:
db_table = "accounting_accounts"
ordering = ["code"]