Issue 11098

Title
Crash on create a sale_complaint
Priority
bug
Status
resolved
Nosy list
acaubet, reviewbot, roundup-bot
Assigned to
acaubet
Keywords
review

Created on 2021-12-28.09:43:10 by acaubet, last changed 3 months ago by roundup-bot.

Messages

New changeset f9afb979ad6d by Cédric Krier in branch 'default':
Require sequence configuration for complaint
https://hg.tryton.org/tryton-env/rev/f9afb979ad6d
New changeset e13b8b7a07b8 by Adrià Tarroja Caubet in branch 'default':
Require sequence configuration for complaint
https://hg.tryton.org/modules/sale_complaint/rev/e13b8b7a07b8
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-02-04 21:32:20roundup-botsetmessages: + msg73892
2022-02-04 21:32:16roundup-botsetmessages: + msg73891
nosy: + roundup-bot
status: testing -> resolved
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

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