feat(fusion_accounting_reports): fusion.report definition model

Persistent definition of a Fusion financial report. Each report (P&L,
balance sheet, trial balance, GL) has one row in fusion.report holding
its metadata + line specs (stored as JSON for layout flexibility).

V19 conventions: models.Constraint inline, no _sql_constraints. Per-
company uniqueness on (company_id, code).

3 new tests, 27 total passing.

Made-with: Cursor
This commit is contained in:
gsinghpal
2026-04-19 15:12:38 -04:00
parent e14ad21689
commit 50f736d8a7
7 changed files with 113 additions and 1 deletions

View File

@@ -1 +1,2 @@
from . import services
from . import models