Fixed the SQL in the get_ledger_accounts() utility in the accounting application.
This commit is contained in:
parent
b0e5720c8d
commit
4cd7b60f79
@ -260,7 +260,7 @@ def get_ledger_accounts():
|
||||
FROM accounting_accounts AS s
|
||||
INNER JOIN accounting_records AS r ON r.account_id = s.id
|
||||
GROUP BY s.code) AS u
|
||||
ON u.code LIKE s.code || '%'
|
||||
ON u.code LIKE s.code || '%%'
|
||||
GROUP BY s.code)
|
||||
ORDER BY s.code"""))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user