This community is for professionals and enthusiasts of our products and services.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.


One of the documents you are trying to access has been deleted


Hi everyone ! So Everything was working fine for me until the last days where i'm having an issue.

So my admin user ( whith all the access ) can't create invoice from Sales Order .

The situation: I create a sale order and the status is sale to invoice
What happen When trying to create the invoice , i have this message :


One of the documents you are trying to access has been deleted, please try again after refreshing.

Any ideas?
1 Answer
Best Answer
2016-09-16 19:15:47,412 31493 ERROR kt-preprod16-09-2016 openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/openerp/", line 543, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python2.7/dist-packages/openerp/", line 580, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python2.7/dist-packages/openerp/", line 316, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/service/", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/", line 313, in checked_call
return self.endpoint(*a, **kw)
File "/usr/lib/python2.7/dist-packages/openerp/", line 809, in __call__
return self.method(*args, **kw)
File "/usr/lib/python2.7/dist-packages/openerp/", line 409, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/", line 948, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/", line 936, in _call_kw
return getattr(request.registry.get(model), method)(, request.uid, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/", line 268, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/sale/wizard/", line 90, in make_invoices
if (not line.invoiced) and (line.state not in ('draft', 'cancel')):
File "/usr/lib/python2.7/dist-packages/openerp/", line 841, in __get__
return record._cache[self]
File "/usr/lib/python2.7/dist-packages/openerp/", line 6053, in __getitem__
return value.get() if isinstance(value, SpecialValue) else value
File "/usr/lib/python2.7/dist-packages/openerp/", line 56, in get
raise self.exception
MissingError: ('MissingError', u'One of the documents you are trying to access has been deleted, please try again after refreshing.')

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!