Can not save Party Identifiers Configuration

Hi everyone,

In the latest release I understand if I want to show only some identifiers, I have to select them from the available list, right?

However when I do that, I can not save the configuration. Here’s the trace:

Traceback (most recent call last):
  File "/usr/local/lib/python37/dist-packages/trytond/wsgipy", line 117, in dispatch_request
    return endpoint(request, **requestview_args)
  File "/usr/local/lib/python37/dist-packages/trytond/protocols/dispatcherpy", line 48, in rpc
    request, database_name, *requestrpc_params)
  File "/usr/local/lib/python37/dist-packages/trytond/wsgipy", line 84, in auth_required
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python37/dist-packages/trytond/protocols/wrapperspy", line 156, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/usr/local/lib/python37/dist-packages/trytond/protocols/dispatcherpy", line 181, in _dispatch
    result = rpcresult(meth(*c_args, **c_kwargs))
  File "/usr/local/lib/python37/dist-packages/trytond/modules/party/configurationpy", line 59, in write
    super()write(*args)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsingletonpy", line 65, in write
    super(ModelSingleton, cls)write(*args)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 159, in wrapper
    return func(cls, *args, **kwargs)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 1051, in write
    cls_validate(sub_records, field_names=all_field_names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 79, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1375, in _validate
    clsvalidate(records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/party/configurationpy", line 70, in validate
    cls(1)check_identifier_types()
  File "/usr/local/lib/python37/dist-packages/trytond/modules/party/configurationpy", line 77, in check_identifier_types
    ('type', 'not in', [None, ''] + selfidentifier_types),
TypeError: can only concatenate list (not "tuple") to list

Already reported on Issue 10420: Party Configuration - Setting Identifier Type causes exception on record save - Tryton issue tracker

1 Like