fix(hrms): force re-seed custom_include_in_ot_base (TETRA-1436) #24

Merged
tant merged 1 commit from fix/TETRA-wave1-force-seed-ot-flag into develop 2026-04-26 18:14:26 +07:00
Owner

Hotfix #3 cho Wave 1. Patch trước fail vì Frappe ALTER TABLE đặt rows hiện tại = 0 (default), không NULL → is None luôn false → backfill skip → LCB + PC_DH_M1..M4 vẫn = 0.

Fix: new patch force_seed_ot_base_flag unconditional set theo abbr list.

Refs: TETRA-1436

Hotfix #3 cho Wave 1. Patch trước fail vì Frappe ALTER TABLE đặt rows hiện tại = 0 (default), không NULL → `is None` luôn false → backfill skip → LCB + PC_DH_M1..M4 vẫn = 0. Fix: new patch `force_seed_ot_base_flag` unconditional set theo abbr list. Refs: TETRA-1436
Existing patch seed_ot_base_flag dùng `current is None` check, fail khi
Frappe create_custom_fields ALTER TABLE set rows hiện tại = 0 (default
applied). Result: LCB + PC_DH_M1..M4 vẫn = 0 sau migrate → sai per
NĐ 145/2020 Đ.55 (lương giờ OT thiếu base components).

Add force_seed_ot_base_flag patch — unconditional set cho 6 components
trong INCLUDE_IN_BASE list. Idempotent.

Refs: TETRA-1436

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
tant merged commit 6bfe91489d into develop 2026-04-26 18:14:26 +07:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tant/vhrms!24
No description provided.