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:
依瑪貓
2020-07-21 13:38:18 +08:00
parent 3c294ffcb8
commit bbfe9e7892
3 changed files with 24 additions and 7 deletions

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"]