Issue 11098

Title
Crash on create a sale_complaint
Priority
bug
Status
testing
Nosy list
acaubet, reviewbot
Assigned to
acaubet
Keywords
review

Created on 2021-12-28.09:43:10 by acaubet, last changed 3 days ago by reviewbot.

Messages

Author: [hidden] (acaubet)
Date: 2021-12-28.09:43:09

Once the module activated and created a Type, trying to save a complain shows:

Traceback (most recent call last):
  File "/trytond/wsgi.py", line 117, in dispatch_request
    return endpoint(request, **request.view_args)
  File "/trytond/protocols/dispatcher.py", line 47, in rpc
    return methods.get(request.rpc_method, _dispatch)(
  File "/trytond/wsgi.py", line 84, in auth_required
    return wrapped(*args, **kwargs)
  File "/trytond/protocols/wrappers.py", line 159, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/trytond/protocols/dispatcher.py", line 181, in _dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
  File "/trytond/modules/sale_complaint/complaint.py", line 267, in create
    values['number'] = config.get_multivalue(
AttributeError: 'NoneType' object has no attribute 'get'

Fault: 'NoneType' object has no attribute 'get'
History
Date User Action Args
2022-01-24 16:09:47reviewbotsetmessages: + msg73505
2021-12-28 10:11:51reviewbotsetmessages: + msg72970
nosy: + reviewbot
2021-12-28 10:09:22acaubetsetassignedto: acaubet
keyword: + review
reviews: 387641002
status: unread -> testing
2021-12-28 09:43:10acaubetcreate