mirror of
http://100.103.83.12:3003/fegger/odoo-at-payroll.git
synced 2026-09-17 08:52:45 +00:00
[IMP] l10n_at_hr_payroll_private: add unpaid care/parental leave family (AP16)
Close the parental/care-leave block after the pilot-client scope release (8.13): six unpaid full-release kinds join the generic parental-leave work entry — Bildungskarenz (AVRAG § 11, two to twelve months by agreement with the AMS-financed Weiterbildungsbeihilfe), Familienhospizkarenz for terminal accompaniment (AVRAG § 14a, three to six months), accompaniment of seriously ill children (§ 14b, five to nine months), children's rehabilitation leave (§ 14e, four weeks per year), Pflegekarenz (§ 14c, one to three months, undivided) and the Papa-Monat (VKG § 1a, one month, creditable toward seniority under § 1a Abs 7 VKG iVm § 15f MSchG while Bildungs-/Pflegekarenz is not). All are unpaid at the employer — the external bodies pay the replacement income (AK, AMS, Bundesamt, KV-Träger) — so the new negative KARENZ_ENTGELT rule stops the employer wage per working day through the shared Tagesatz helper whose exclusion list now covers EFZG, Mutterschutz and Karenz corrections. The Versichertenmeldung run emits M4 deregistrations at the end of the pay entitlement (the day before the release begins) and M3 re-registrations at the return date — omitted when the employment itself ends — with the eSV Karenzart strings logged as protocol information pending the special DM-ORG formats (GP7 track). The fictive BMSVG basis gains the § 7 Abs 4 Z 1–3 bridge: when a new maternity prohibition follows a parental-leave stretch directly or after employment of less than three months, the reference months fall before the preceding prohibition, and a re-founded employment within three months of the ended karenziert employment uses the single last full calendar month; contributions during the KBG period are FLAF-financed (§ 7 Abs 5) and during hospice/care leave Bund-financed (§ 7 Abs 6) — no employer rule, verified by test. Pflegeteilzeit and comparable reduced-hour arrangements pay the BV contribution on the pre-reduction wage via a new version field consumed by the BMSVG basis (§ 6 Abs 4). The endabrechnung wizard gains the § 23 Abs 8 AngG full-time re-rating preview (monthly salary ÷ work_time_rate, confirmable) with § 23a Abs 4a and UEL § 10 Abs 4 UrlG guidance. The Mutterschutz status now detects the § 163 ASVG Sonderwochengeld case (prohibition inside a Karenz — the KV-Träger pays the increased sickness benefit) and warns on § 166 ASVG suspension (full for >50 % continued pay, half at 50 %, activity and Pflegekarenzgeld hints). Verified against the original statute text in .ris/ (AVRAG §§ 11/11a/14a–14e, VKG § 1a, MSchG § 15f, BMSVG § 7 Abs 4–6, ASVG §§ 163/166) and the knowledge-base sources lb-kar/elt/kzs/pap/kbg; the vacation proration of leave stretches (§ 15f Abs 2 MSchG on the hr_holidays allocation side), the eSV special formats for the Karenz art block, the full Sonderwochengeld computation and the leave-overlap policy decision remain documented open points. Version 19.0.17.0.0 (private)
This commit is contained in:
@@ -2,6 +2,45 @@
|
||||
|
||||
## Current focus
|
||||
|
||||
**AP16 Karenz-/Familien-Reste umgesetzt (8.13 freigegeben) — Kern 73/73, Privat 199/199 Tests grün**
|
||||
(2026-09-15, uncommittet bis Nutzerfreigabe; Privat **19.0.17.0.0**):
|
||||
|
||||
- **8.13 komplett freigegeben** (Nutzer, 2026-09-15) — Mutterschutz-/Karenz-
|
||||
Block im R1-Scope; §-Verifikation am Originalwortlaut (AVRAG §§ 11/11a/
|
||||
14a–14e/15a, VKG § 1a, MSchG § 15f, BMSVG § 7 Abs 4–6, ASVG §§ 163/166).
|
||||
KB-Synthesen (3 Subagenten): lb-kar/elt/kzs/pap/kbg — arbeitsrechtliche
|
||||
Kerne + Abrechnungstypologie (alle Voll-Freistellungen entgeltlos,
|
||||
Leistungen extern: AK/AMS/BASB/KV/Gesundheitskasse; elt-SV/LSt/BMSVG-Lücken
|
||||
verifizieren = erledigt über RIS/Bestandsmaschinerie; ⚠ lb-elt-06 §-8/§-8a-
|
||||
VKG-Zuordnung dokumentiert).
|
||||
- **Privat (19.0.17.0.0):** 6 neue WETs/Urlaubsarten (ATP_BILDUNGSKARENZ,
|
||||
ATP_HOSPIZKARENZ, ATP_KINDERKRANK, ATP_KINDERREHAB, ATP_PFLEGEKARENZ,
|
||||
ATP_PAPAMONAT); Regel `KARENZ_ENTGELT` (seq 48, negatives Tagesatz-Muster
|
||||
wie MSCH_ENTGELT, Ausschlüsse im geteilten `_at_efz_tagesatz`); Modell
|
||||
`models/karenz.py` (Status/Tage/Karenzarten-Map); vr.event-An-/Abmeldungen
|
||||
aus Karenz (M4 Tag vor Beginn, M3 Rückkehr, entfällt bei DV-Ende; Karenz-
|
||||
art-Strings im Protokoll, eSV-Sonderformate GP7); fiktive BV mit §-7-Abs-4-
|
||||
**Z-1–3-Brücke** (`_at_msch_referenz_stichtag_und_anzahl` in mutterschutz.py);
|
||||
BV-Vor-Entgelt-Feld `l10n_at_bv_vor_entgelt` (§ 6 Abs 4 BMSVG, Pflegeteilzeit)
|
||||
in `_at_bv_basis_laufen`; §-23-Abs-8-Hochrechnungs-Vorschau im Wizard
|
||||
(`abf_alt_hochrechnung_vorschau`); Sonderwochengeld-Erkennung (§ 163 ASVG)
|
||||
+ Ruhen-Warnungen (§ 166 ASVG) im msch_info.
|
||||
- **Tests:** neu `tests/test_karenz_private.py` 6 (Entgelt-Stopp, VR-Events
|
||||
inkl. Idempotenz + Protokoll, Z-1-Brücke, §-6-Abs-4-BV, § 163/§ 166,
|
||||
Wizard-Hochrechnung); Suite **214/214** (73 Kern + 199 Privat). Test-Details:
|
||||
hr.leave-Quere-Überlappung nur mit `leave_skip_date_check`+`leave_skip_state_check`
|
||||
+ direktem state='validate' umgehbar (Krankheit während Karenz);
|
||||
EFZ-Phasen lesen Leaves, `voll_arbeitstage` Work-Entries — überlappte Tage
|
||||
brauchen direkte hr.work.entry-Records; `hr.leave` hat KEIN
|
||||
work_entry_type_id (nur der Leave-Typ).
|
||||
- **Offen AP16-Reste (docs/rechenfaelle/karenz.md):** Urlaubs-Aliquotierung aus
|
||||
Karenz (§ 15f Abs 2 MSchG, hr_holidays-Allokationsseite), Leave-Überlappungs-
|
||||
Policy (allow_request_on_top/time_type — Mandanten-Entscheid), eSV-Sonderformate
|
||||
(Karenzart-Block, GP7), Sonderwochengeld-Vollrechnung (§ 141/§ 125/§ 108f =
|
||||
Anzeige-Stufe), lb-kar-02-13-Wochen-Über-/§ 2i-AVRAG-Konflikt (dokumentiert).
|
||||
- **Offen gesamt:** AP17 Meldewesen-Reste (L17/§ 109a/§ 109b, Geringfügigen-
|
||||
Jahreszahlung), AP18+ (Gates). Nicht committen ohne Nutzeranforderung.
|
||||
|
||||
**AP14-B Prämien bei Beendigung (§ 16 AngG) umgesetzt — Kern 73/73, Privat 191/191 Tests grün**
|
||||
(2026-09-15, uncommittet bis Nutzerfreigabe; Privat **19.0.16.0.0**):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user