Fix Phase 6 Local Agent status command

This commit is contained in:
A R R R Associates
2026-08-19 22:59:10 +05:30
parent 193fd4b71c
commit 4ab86f4023
4 changed files with 6 additions and 4 deletions
@@ -1,4 +1,4 @@
ERP Local Agent 1.7.0
ERP Local Agent 1.7.1
Existing storage, WebSocket tunnel, Tally and client .act functionality are preserved.
@@ -26,3 +26,5 @@ Version 1.6.0: Phase 4 read-only Tally transaction synchronization (vouchers, le
Phase 5 adds draft-only Income-tax depreciation calculations from synchronized .act data. No Tally write-back.
Phase 6: approved Income-tax depreciation Journal write-back is available only after explicit Partner approval and POST confirmation. All other Tally operations remain read-only.
Hotfix 1.7.1: accepts phase6_status as a status alias; no accounting behavior changed.
@@ -1,2 +1,2 @@
__version__ = "1.7.0"
__version__ = "1.7.1"
AGENT_NAME = "ERP Local Agent"
@@ -23,7 +23,7 @@ class AgentCommandProcessor:
error: str | None = None
ok = False
try:
if action in {"tally_status", "phase1_status", "phase2_status", "phase3_status", "phase4_status", "phase5_status"}:
if action in {"tally_status", "phase1_status", "phase2_status", "phase3_status", "phase4_status", "phase5_status", "phase6_status"}:
result = self._status(payload)
elif action == "accounting_initialize":
result = self._initialize(payload)