cadrumo.application.user_profile.filing_baseline module¶
Filing-grade profile identity baseline checks.
- missing_filing_baseline_flag_groups(values, *, profile_path_flags)[source]¶
Return the missing flags split into identity and conditional groups.
Both groups block the same write, but they are different obligations and reporting them under one message misdescribed whichever group the operator actually hit: a profile lacking only the Modelo 303 IVA block was told its “identity data” was incomplete while its name and NIF were plainly set.
Identity takes precedence where the two overlap. The conditional resolver also demands the legal-entity fields once the entity type is a legal entity, so subtracting the conditional set instead would empty the identity group and report a missing legal name as a Modelo 303 requirement.