Tryton - Issues

 

Message47164

Author pokoli
Recipients
Date 2019-02-22.19:27:55
Content
When searching an order point by it's location i get the following traceback:

Traceback (most recent call last):
  File "/trytond/wsgi.py", line 78, in dispatch_request
    return endpoint(request, **request.view_args)
  File "/trytond/protocols/dispatcher.py", line 48, in rpc
    request, database_name, *request.rpc_params)
  File "/trytond/wsgi.py", line 49, in auth_required
    return wrapped(*args, **kwargs)
  File "/trytond/protocols/wrappers.py", line 131, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/trytond/protocols/dispatcher.py", line 186, in _dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
  File "/trytond/model/modelsql.py", line 1196, in search
    tables, expression = cls.search_domain(domain)
  File "/trytond/model/modelsql.py", line 1380, in search_domain
    expression = convert(domain)
  File "/trytond/model/modelsql.py", line 1378, in convert
    domain[1:] if domain[0] == 'AND' else domain)))
  File "/trytond/model/modelsql.py", line 1377, in <genexpr>
    return And((convert(d) for d in (
  File "/trytond/model/modelsql.py", line 1368, in convert
    expression = field.convert_domain(domain, tables, cls)
  File "/trytond/model/fields/function.py", line 79, in convert_domain
    return getattr(Model, self.searcher)(self.name, domain)
  File "/trytond/modules/stock_supply/order_point.py", line 244, in search_location
    for _, operator, operand in domain:
ValueError: too many values to unpack (expected 3)
History
Date User Action Args
2019-02-22 19:27:55pokolisetmessageid: <1550860075.9.0.749944657972.issue8141@tryton.org>
2019-02-22 19:27:55pokolilinkissue8141 messages
2019-02-22 19:27:55pokolicreate

Showing 10 items. Show all history (warning: this could be VERY long)