def METHOD_NAME(self):
    for record in self:
        if record.address and 250 < len(record.address):
            raise exceptions.ValidationError(
                _(
                    "TicketBAI Invoice %(name)s:\n"
                    "Customer %(customer)s Address %(address)s longer "
                    "than expected. "
                    "Should be 250 characters max.!"
                )
                % {
                    "name": record.tbai_invoice_id.name,
                    "customer": record.name,
                    "address": record.address,
                }
            )