<?xml version="1.0"?>
<t t-name="purchase_edi_ubl_bis3.bis3_DeliveryType">
        <t xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
            <cac:DeliveryParty>
                <cac:PartyName>
                    <cbc:Name t-out="vals.get('party_name')"/>
                </cac:PartyName>
                <cac:PostalAddress>
                    <t t-call="purchase_edi_ubl_bis3.bis3_AddressType">
                        <t t-set="vals" t-value="vals.get('postal_address_vals')"/>
                    </t>
                </cac:PostalAddress>
                <cac:Contact t-if="vals.get('contact_vals')">
                    <t t-call="purchase_edi_ubl_bis3.bis3_ContactType">
                        <t t-set="vals" t-value="vals.get('contact_vals')"/>
                    </t>
                </cac:Contact>
            </cac:DeliveryParty>
        </t>
    </t>

    