'Print the invoice and mark it as sent, so that we can see more
easily the next step of the workflow'

@api.multi
def invoice_print(self):

    self.ensure_one()
    self.sent = True
    return self.env['report'].get_action(self, 'account.report_invoice')
