#2124: Baptism as alternate birth event on Det (Ancestral,Descendant) reports and Ancestral report

svn: r10912
This commit is contained in:
Jérôme Rapinat 2008-07-22 10:27:24 +00:00
parent 4b3780f1a1
commit b4c4161c9d

View File

@ -2584,7 +2584,7 @@ def baptised_str(database, person, person_name=None, verbose=True, empty_date=""
event = database.get_event_from_handle(event_ref.ref)
if event and event.get_type() == gen.lib.EventType.BAPTISM \
and event_ref.get_role() == gen.lib.EventRoleType.PRIMARY:
burial = event
baptism = event
break
if baptism:
bdate = DateHandler.get_date(baptism)