problem with attributes on product variants
With either gtk or js client I have problems with variants using attributes.
I create a a product set 'MO attributes' with two attributes, 'coef' and 'zone', each a selection list of fixed values.
Then I create a product [template] "Main d'oeuvre" with the above attribute set selected.
Then I try to create a product variant, e.g. OE1 with just one attribute 'coef', wanting to select '150'.
But trying to select, for example, the attribute 'coef' I get :
Traceback (most recent call last):
File "/opt/trytond/trytond/protocols/dispatcher.py", line 176, in _dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
File "/opt/trytond/trytond/model/dictschema.py", line 107, in get_keys
english_key.selection_json))
ValueError: need more than 1 value to unpack
24143 140188462343936 [2018-12-27 11:45:26,282] INFO werkzeug 127.0.0.1 - - [27/Dec/2018 11:45:26] "POST /tBAOU2/ HTTP/1.1" 200 -
ERROR:tryton.common.common:Traceback (most recent call last):
File "/trytond/wsgi.py", line 73, in dispatch_request
return endpoint(request, **request.view_args)
File "/trytond/protocols/dispatcher.py", line 46, in rpc
request, database_name, *request.rpc_params)
File "/trytond/wsgi.py", line 44, in auth_required
return wrapped(*args, **kwargs)
File "/trytond/protocols/wrappers.py", line 122, in wrapper
return func(request, pool, *args, **kwargs)
File "/trytond/protocols/dispatcher.py", line 176, in _dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
File "/trytond/model/dictschema.py", line 107, in get_keys
english_key.selection_json))
ValueError: need more than 1 value to unpack
need more than 1 value to unpack
Perhaps related to Issue4549?