Oops, a server error has occured
Traceback (innermost last):
  File "../lib/webnotes/webutils.py", line 16, in render
    html = render_page(page_name or "index")
  File "../lib/webnotes/webutils.py", line 40, in render_page
    html = build_page(page_name)
  File "../lib/webnotes/webutils.py", line 103, in build_page
    context.update(module.get_context())
  File "../app/accounts/doctype/sales_invoice/templates/pages/invoice.py", line 13, in get_context
    context = get_transaction_context("Sales Invoice", webnotes.form_dict.name)
  File "../app/portal/utils.py", line 47, in get_transaction_context
    bean = webnotes.bean(doctype, name)
  File "../lib/webnotes/__init__.py", line 377, in bean
    return Bean(doctype, name)
  File "../lib/webnotes/model/bean.py", line 39, in __init__
    self.load_from_db(dt, dn)
  File "../lib/webnotes/model/bean.py", line 54, in load_from_db
    doc = Document(dt, dn, prefix=prefix)
  File "../lib/webnotes/model/doc.py", line 90, in __init__
    self._loadfromdb(doctype, name)
  File "../lib/webnotes/model/doc.py", line 149, in _loadfromdb
    raise webnotes.DoesNotExistError, '[WNF] %s %s does not exist' % (self.doctype, self.name)
 DoesNotExistError: [WNF] Sales Invoice Sales Invoice does not exist