feat: Präfix System- für Tool-Serien reserviert, Kreditraten-Serie heißt System-Kreditraten (A12-T1)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-29 07:24:41 +02:00
co-authored by Claude Opus 5.5
parent 5a8e05596f
commit 0a5fa90ae8
6 changed files with 89 additions and 18 deletions
+5 -4
View File
@@ -2,9 +2,9 @@
Monatssummen je Kategorie aus der reinen Planung (ohne Szenario-Modifikatoren):
wiederkehrende Posten, Einmalposten und die Raten ALLER Kredite (Kategorie
„Kreditraten", Auszahlung zählt nicht). Einnahmen und Ausgaben mit Vorzeichen,
Semantik wie v_monthly_by_category. Kreditraten brauchen die Annuitätenformel
(engine/loans.py) - daher Python + Tabelle statt SQL-View.
„System-Kreditraten", Auszahlung zählt nicht). Einnahmen und Ausgaben mit
Vorzeichen, Semantik wie v_monthly_by_category. Kreditraten brauchen die
Annuitätenformel (engine/loans.py) - daher Python + Tabelle statt SQL-View.
"""
from collections import defaultdict
from datetime import date, timedelta
@@ -19,9 +19,10 @@ from app.engine.loans import loan_schedule
from app.engine.recurrence import occurrences
from app.models.tables import (Category, Loan, PlannedItem, PlanningMonthly,
RecurringItem)
from app.reserved import SYSTEM_PREFIX
UNKATEGORISIERT = "unkategorisiert"
KREDITRATEN = "Kreditraten"
KREDITRATEN = f"{SYSTEM_PREFIX}Kreditraten"
PLANNING_CHART_LOCK = 110_002