@classmethod
def get_mailing_addrobj(cls, party):
    """ get first mailing-address
        """
    if not isinstance(party, type(None)):
        if not isinstance(party.addresses, type(None)):
            for i in party.addresses:
                if i.mailing_addr == True:
                    return i
    cls.raise_user_error('no_mailing_addr', party.name)
