(self, picking)
return {
            "Name": partner.name or partner.parent_id.name or "",
            "Address": partner.street or "",
            "City": partner.city or "",
            "PostalCode": partner.zip or "",
            "Country": partner.country_id.code or "",
            "Phone": partner.phone or "",
            "Email": partner.email or "",
        }
Optional, if the sender information is not
        sent, they will be fetched from DHL web Service B2B.
Optional, if the sender information is not
        sent, they will be fetched from DHL web Service B2B.
Optional if the sender information is not sent they will be fetched from DHL web Service B2B .
def _get_dhl_parcel_sender_info(self, picking):
        """Optional, if the sender information is not
        sent, they will be fetched from DHL web Service B2B.
        """
        partner = picking.picking_type_id.warehouse_id.partner_id
        return {
            "Name": partner.name or partner.parent_id.name or "",
            "Address": partner.street or "",
            "City": partner.city or "",
            "PostalCode": partner.zip or "",
            "Country": partner.country_id.code or "",
            "Phone": partner.phone or "",
            "Email": partner.email or "",
        }
def _get_dhl_parcel_sender_info ( self , picking ) : partner = picking . picking_type_id . warehouse_id . partner_id return { "Name" : partner . name or partner . parent_id . name or "" , "Address" : partner . street or "" , "City" : partner . city or "" , "PostalCode" : partner . zip or "" , "Country" : partner . country_id . code or "" , "Phone" : partner . phone or "" , "Email" : partner . email or "" , }