Unify accounting analysis on Client FY mirror registry

This commit is contained in:
A R R R Associates
2026-09-20 16:36:14 +05:30
parent 24b13e5d6e
commit c63fc2773c
11 changed files with 103 additions and 45 deletions
@@ -21,9 +21,10 @@ from app.modules.accounting.accounting_mirror_service import (
class AccountingAnalyticsDataSource:
"""Common read-only data source for accounting/audit analytical procedures.
This class is additive. Existing tools are not silently redirected in v1.23.0.
New or migrated tools can use the mirror immediately while current Opening
Balance, Cash Payment, Depreciation and posting workflows continue unchanged.
Read-only accounting/audit analysis is mirror-first. UI analysis workflows
resolve their Client/FY through AccountingMirrorRegistry before constructing
this source or invoking Local-Agent mirror commands. Live Tally remains a
bootstrap/write channel only; analytical reads use the registered .act mirror.
"""
def __init__(self, *, node_code: str, accounting_payload: dict[str, Any]):