Ir al contenido
Menú
Se marcó esta pregunta
3561 Vistas

Following error comes whenever sales POS is being accessed.



Odoo Server Error

Traceback (most recent call last):

File "/odoo/odoo-server/odoo/http.py", line 640, in _handle_exception

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

File "/odoo/odoo-server/odoo/http.py", line 677, in dispatch

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

File "/odoo/odoo-server/odoo/http.py", line 333, in _call_function

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

File "/odoo/odoo-server/odoo/service/model.py", line 101, in wrapper

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

File "/odoo/odoo-server/odoo/http.py", line 326, in checked_call

result = self.endpoint(*a, **kw)

File "/odoo/odoo-server/odoo/http.py", line 935, in __call__

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

File "/odoo/odoo-server/odoo/http.py", line 506, in response_wrap

response = f(*args, **kw)

File "/odoo/enterprise/addons/web/controllers/main.py", line 804, in search_read

return self.do_search_read(model, fields, offset, limit, domain, sort)

File "/odoo/enterprise/addons/web/controllers/main.py", line 826, in do_search_read

offset=offset or 0, limit=limit or False, order=sort or False)

File "/odoo/odoo-server/odoo/models.py", line 4699, in search_read

result = records.read(fields)

File "/odoo/odoo-server/odoo/models.py", line 3021, in read

values[name] = field.convert_to_read(record[name], record, use_name_get)

File "/odoo/odoo-server/odoo/models.py", line 5214, in __getitem__

return self._fields[key].__get__(self, type(self))

File "/odoo/odoo-server/odoo/fields.py", line 870, in __get__

self.determine_value(record)

File "/odoo/odoo-server/odoo/fields.py", line 981, in determine_value

self.compute_value(recs)

File "/odoo/odoo-server/odoo/fields.py", line 936, in compute_value

self._compute_value(records)

File "/odoo/odoo-server/odoo/fields.py", line 927, in _compute_value

getattr(records, self.compute)()

File "/odoo/enterprise/addons/point_of_sale/models/pos_config.py", line 141, in _compute_current_session

pos_config.current_session_id = session

File "/odoo/odoo-server/odoo/fields.py", line 888, in __set__

value = self.convert_to_cache(value, record)

File "/odoo/odoo-server/odoo/fields.py", line 1903, in convert_to_cache

raise ValueError("Wrong value for %s: %r" % (self, value))

ValueError: Wrong value for pos.config.current_session_id: pos.session(1548, 1547)

Avatar
Descartar

Try to close active sessions except one of pos.and start pos again with only one session.

Thanks.

There's only one session that I'm trying to open with this user on this POS.


Any other suggestion for this issue please?

Is there a way to log off this user from all logged in places?

On Friday, 2 February 2018, Dipak Shah <dipssah@gmail.com> wrote:

Try to close active sessions except one of pos.and start pos again with only one session.

Thanks.

--
Dipak Shah


Sent by Odoo S.A. using Odoo.

Please use a meaningful question title otherwise your question will be closed.