No phone
No phone number on customer
50
account.move
failed = journal_entry.move_type == 'out_invoice' and not journal_entry.partner_id.phone
No phone when posting
No phone when posting
50
account.move
failed = journal_entry._context.get('newState') == 'posted' and journal_entry.move_type == 'out_invoice' and not journal_entry.partner_id.phone