haikal/scripts/report.py
2025-01-27 15:41:30 +00:00

9 lines
234 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)