Issue 10194

Title
Opening singleton with URL pointing to id 1 failed
Priority
bug
Status
unread
Nosy list
ced
Assigned to
Keywords

Created on 2021-03-13.16:07:41 by ced, last changed 3 weeks ago by ced.

Messages

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-03-13.16:07:41

Here is the traceback when opening https://demo.tryton.org/model/purchase.configuration/1:

Traceback (most recent call last):
  File "/usr/local/lib/python37/dist-packages/trytond/wsgipy", line 116, 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 83, in auth_required
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python37/dist-packages/trytond/protocols/wrapperspy", line 131, 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/model/modelsingletonpy", line 42, in read
    with_rec_name=len(fname_no_rec_name) != len(fields_names))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsingletonpy", line 102, in default_get
    with_rec_name=with_rec_name)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelpy", line 149, in default_get
    field = cls_fields[field_name]
KeyError: '_write'
History
Date User Action Args
2021-03-13 16:07:41cedcreate

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