def METHOD_NAME(self):
    payment_journal_required = self.filtered(
        lambda x: x.payment_atomation != 'none' and
        not x.payment_journal_id)
    if payment_journal_required:
        raise ValidationError(_(
            'If you choose a Payment automation, Payment Journal '
            'is required'))