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:
1 parent
3c294ffcb8
commit
bbfe9e7892
3 files changed
+24
-7
No files matched your search
@@ -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"]
|
||||
|
||||
Reference in new issue
Block a user