Odoo Help

Welcome!

This community 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.

0

POS error with fresh install.

By
Andrew Talviste
on 2/4/15, 3:57 PM 525 views

I have a fresh install of the latest version of oodo with only the accounting and POS modules installed.  I am receiving the following error when I start the POS:  

 

Traceback (most recent call last):

 

 

  File "/opt/odoo/openerp/http.py", line 526, in _handle_exception

    return super(JsonRequest, self)._handle_exception(exception)

  File "/opt/odoo/openerp/http.py", line 563, in dispatch

    result = self._call_function(**self.params)

  File "/opt/odoo/openerp/http.py", line 303, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "/opt/odoo/openerp/service/model.py", line 113, in wrapper

    return f(dbname, *args, **kwargs)

  File "/opt/odoo/openerp/http.py", line 300, in checked_call

    return self.endpoint(*a, **kw)

  File "/opt/odoo/openerp/http.py", line 792, in __call__

    return self.method(*args, **kw)

  File "/opt/odoo/openerp/http.py", line 396, in response_wrap

    response = f(*args, **kw)

  File "/opt/odoo/addons/web/controllers/main.py", line 949, in call_kw

    return self._call_kw(model, method, args, kwargs)

  File "/opt/odoo/addons/web/controllers/main.py", line 941, in _call_kw

    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)

  File "/opt/odoo/openerp/api.py", line 241, in wrapper

    return old_api(self, *args, **kwargs)

  File "/opt/odoo/addons/point_of_sale/point_of_sale.py", line 617, in create_from_ui

    order_id = self._process_order(cr, uid, order, context=context)

  File "/opt/odoo/openerp/api.py", line 241, in wrapper

    return old_api(self, *args, **kwargs)

  File "/opt/odoo/addons/point_of_sale/point_of_sale.py", line 578, in _process_order

    order_id = self.create(cr, uid, self._order_fields(cr, uid, order, context=context),context)

  File "/opt/odoo/openerp/api.py", line 241, in wrapper

    return old_api(self, *args, **kwargs)

  File "/opt/odoo/addons/point_of_sale/point_of_sale.py", line 755, in create

    values['name'] = session.config_id.sequence_id._next()

  File "/opt/odoo/openerp/fields.py", line 765, in __get__

    return record._cache[self]

  File "/opt/odoo/openerp/models.py", line 5852, in __getitem__

    return value.get() if isinstance(value, SpecialValue) else value

  File "/opt/odoo/openerp/fields.py", line 53, 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.')

Ok

 

Any ideas?

 

0
jackethu
On 3/28/15, 7:57 PM

To remove POS, then reinstall POS, I met the same ERROR.

-----------------------------------------------------------------------------------------

Traceback (most recent call last):

File "/opt/odoo/odoo-server/openerp/http.py", line 530, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/opt/odoo/odoo-server/openerp/http.py", line 567, in dispatch

result = self._call_function(**self.params)

File "/opt/odoo/odoo-server/openerp/http.py", line 303, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/opt/odoo/odoo-server/openerp/service/model.py", line 113, in wrapper

return f(dbname, *args, **kwargs)

File "/opt/odoo/odoo-server/openerp/http.py", line 300, in checked_call

return self.endpoint(*a, **kw)

File "/opt/odoo/odoo-server/openerp/http.py", line 796, in __call__

return self.method(*args, **kw)

File "/opt/odoo/odoo-server/openerp/http.py", line 396, in response_wrap

response = f(*args, **kw)

File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 949, in call_kw

return self._call_kw(model, method, args, kwargs)

File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 941, in _call_kw

return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)

File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/odoo-server/addons/point_of_sale/point_of_sale.py", line 617, in create_from_ui

order_id = self._process_order(cr, uid, order, context=context)

File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/odoo-server/addons/point_of_sale/point_of_sale.py", line 578, in _process_order

order_id = self.create(cr, uid, self._order_fields(cr, uid, order, context=context),context)

File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/odoo-server/addons/point_of_sale/point_of_sale.py", line 755, in create

values['name'] = session.config_id.sequence_id._next()

File "/opt/odoo/odoo-server/openerp/fields.py", line 766, in __get__

return record._cache[self]

File "/opt/odoo/odoo-server/openerp/models.py", line 5852, in __getitem__

return value.get() if isinstance(value, SpecialValue) else value

File "/opt/odoo/odoo-server/openerp/fields.py", line 53, in get

raise self.exception

is the problem solved !!

oussama
on 7/27/15, 7:23 AM

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!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/4/15, 3:57 PM
Seen: 525 times
Last updated: 3/28/15, 7:57 PM