Dev #7

Merged
foefl merged 74 commits from dev into main 2026-07-31 14:19:01 +00:00
Showing only changes of commit 07c2bd92da - Show all commits
+9 -3
View File
@@ -3500,9 +3500,9 @@ class Page_InitRec(QWidget):
pers_id=5, pers_id=5,
) )
ids = EntityIds( # ids = EntityIds(
link_id=7, # link_id=7,
) # )
self.STATE.ids.update(ids, ignore_none=False) self.STATE.ids.update(ids, ignore_none=False)
if ids.empty(): if ids.empty():
@@ -3688,6 +3688,12 @@ class Page_InitRec(QWidget):
def validate(self) -> list[str]: def validate(self) -> list[str]:
errors: list[str] = [] errors: list[str] = []
for m in self.STATE.child_modules: for m in self.STATE.child_modules:
if (
m.STATE.ent_type is EntityType.COMPANY
and self.STATE.recording_type is not RecordingType.WITH_COMPANY
):
continue
errors.extend(m.validate()) errors.extend(m.validate())
return errors return errors