Skip to Content
Menu
This question has been flagged
3884 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.

Chris

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 24
4270
1
Jul 23
1166
1
Dec 22
1994
12
Sep 21
23649
1
May 17
3024