Hi All
Please help. We can't open POS sessions, all of a sudden. When we try we get this error:
Odoo Server Error Traceback (most recent call last):
File "/odoo/odoo-server/openerp/http.py", line 647, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo/odoo-server/openerp/http.py", line 684, in dispatch
result = self._call_function(**self.params)
File "/odoo/odoo-server/openerp/http.py", line 320, 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 313, in checked_call
result = self.endpoint(*a, **kw)
File "/odoo/odoo-server/openerp/http.py", line 963, in __call__
return self.method(*args, **kw)
File "/odoo/odoo-server/openerp/http.py", line 513, in response_wrap
response = f(*args, **kw)
File "/odoo/odoo-server/addons/web/controllers/main.py", line 901, in call_button
action = self._call_kw(model, method, args, {})
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 317, in open_session_cb
session_id = proxy.create(cr, uid, values, 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 545, in create
return super(pos_session, self).create(cr, is_pos_user and SUPERUSER_ID or uid, values, context=context)
File "/odoo/odoo-server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/odoo/odoo-server/openerp/api.py", line 354, in old_api
result = method(recs, *args, **kwargs)
File "/odoo/odoo-server/openerp/models.py", line 4157, in create
record = self.browse(self._create(old_vals))
File "/odoo/odoo-server/openerp/api.py", line 248, in wrapper
return new_api(self, *args, **kwargs)
File "/odoo/odoo-server/openerp/api.py", line 490, in new_api
result = method(self._model, cr, uid, *args, **old_kwargs)
File "/odoo/odoo-server/openerp/models.py", line 4376, in _create
self.create_workflow(cr, user, [id_new], context=context)
File "/odoo/odoo-server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/odoo/odoo-server/openerp/models.py", line 3592, in create_workflow
workflow.trg_create(uid, self._name, res_id, cr)
File "/odoo/odoo-server/openerp/workflow/__init__.py", line 55, in trg_create
return WorkflowService.new(cr, uid, res_type, res_id).create()
File "/odoo/odoo-server/openerp/workflow/service.py", line 63, in create
WorkflowInstance.create(self.session, self.record, wkf_id)
File "/odoo/odoo-server/openerp/workflow/instance.py", line 36, in create
WorkflowItem.create(session, record, activity, instance_id, stack)
File "/odoo/odoo-server/openerp/workflow/workitem.py", line 77, in create
workflow_item.process(stack=stack)
File "/odoo/odoo-server/openerp/workflow/workitem.py", line 102, in process
ok = self._split_test(activity['split_mode'], signal, stack)
File "/odoo/odoo-server/openerp/workflow/workitem.py", line 227, in _split_test
cr.executemany('insert into wkf_witm_trans (trans_id,inst_id) values (%s,%s)', transitions)
InternalError: invalid page in block 0 of relation base/29273/17061