Added a TODO note to the _ledger_subjects() utility method in the accounting application.

This commit is contained in:
依瑪貓 2020-07-19 21:20:11 +08:00
parent 469f32b1ec
commit 1ec1bba364

View File

@ -316,6 +316,7 @@ def _ledger_subjects():
Returns:
list[Subject]: The subjects for the ledger reports.
"""
# TODO: Te be replaced with the Django model queries
return list(Subject.objects.raw("""SELECT s.*
FROM accounting_subjects AS s
WHERE s.code IN (SELECT s.code