Skip to content

Commit

Permalink
[FIX] pms-l10n_es: add relationship to checkin partner report xml con…
Browse files Browse the repository at this point in the history
…tent ses
  • Loading branch information
miguelpadin committed Jan 3, 2025
1 parent 7666e47 commit 027ebd7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pms_l10n_es/wizards/traveller_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ def _ses_xml_person_contact_elements(persona, reservation, checkin_partner=False
"have a contact method (mail or phone)"
)
)
if checkin_partner.ses_relationship:
ET.SubElement(persona, "parentesco").text = checkin_partner.ses_relationship

Check warning on line 302 in pms_l10n_es/wizards/traveller_report.py

View check run for this annotation

Codecov / codecov/patch

pms_l10n_es/wizards/traveller_report.py#L302

Added line #L302 was not covered by tests


def _ses_xml_person_elements(comunicacion, checkin_partner):
Expand Down

0 comments on commit 027ebd7

Please sign in to comment.