haikal/scripts/report.py
2025-06-22 13:25:54 +03:00

10 lines
231 B
Python

from django_ledger.report.balance_sheet import BalanceSheetReport
from django_ledger.models import EntityModel
def run():
entity = EntityModel.objects.first()
report = BalanceSheetReport(entity=entity)
print(report)