Odoo Help


Error while starting POS-Session after deleting an unbooked Session before: "Record does not exist or has been deleted. None"

Christian Schneider
on 7/14/16, 4:58 AM 1,124 views

I'm new in odoo and try to build an prototype environment for evaluation the right configuration for our POS infrastructure.

Using the demo data after adding an sales journal an payment method "cash" in POS "main", I started an session. After leaving, I delete the unbooked session. When I start an new session, the following Error occurs:

"Record does not exist or has been deleted. None".

Traceback (most recent call last): File "/odoo/odoo-server/openerp/http.py", line 646, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/odoo/odoo-server/openerp/http.py", line 683, in dispatch result = self._call_function(**self.params) File "/odoo/odoo-server/openerp/http.py", line 319, in _call_function return checked_call(self.db, *args, **kwargs) File "/odoo/odoo-server/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/odoo/odoo-server/openerp/http.py", line 312, in checked_call result = self.endpoint(*a, **kw) File "/odoo/odoo-server/openerp/http.py", line 962, in __call__ return self.method(*args, **kw) File "/odoo/odoo-server/openerp/http.py", line 512, in response_wrap response = f(*args, **kw) File "/odoo/odoo-server/addons/web/controllers/main.py", line 897, in call_kw return self._call_kw(model, method, args, kwargs) File "/odoo/odoo-server/addons/web/controllers/main.py", line 889, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/odoo/odoo-server/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/odoo/odoo-server/addons/point_of_sale/point_of_sale.py", line 798, in create_from_ui order_id = self._process_order(cr, uid, order, context=context) File "/odoo/odoo-server/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/odoo/odoo-server/addons/point_of_sale/point_of_sale.py", line 740, in _process_order if session.state == 'closing_control' or session.state == 'closed': File "/odoo/odoo-server/openerp/fields.py", line 835, in __get__ return record._cache[self] File "/odoo/odoo-server/openerp/models.py", line 6132, in __getitem__ return value.get() if isinstance(value, SpecialValue) else value File "/odoo/odoo-server/openerp/fields.py", line 39, in get raise self.exception MissingError: (u'Record does not exist or has been deleted.', None)

What is wrong? I thought, I can delete unbooked sessions?

Thanks for ideas.


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 7/14/16, 4:58 AM
Seen: 1124 times
Last updated: 7/14/16, 4:59 AM