Message 66590

Author
albertca
Date
2021-04-14.00:46:22
Message id
66590

Content

Sure. Here's one of the tracebacks:

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/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 123, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock/shipmentpy", line 271, in on_change_with_supplier_location
    return selfsuppliersupplier_locationid
AttributeError: 'NoneType' object has no attribute 'id'

And here the one with the on_change:

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 186, in _dispatch
    result = rpcresult(meth(inst, *c_args, **c_kwargs))
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 123, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock/shipmentpy", line 271, in on_change_with_supplier_location
    return selfsuppliersupplier_locationid
AttributeError: 'NoneType' object has no attribute 'id'
History
Date User Action Args
2021-04-14 00:46:22albertcasetmessageid: <1618353982.1152604.3ND5IZRKFUBKLYZZ.issue10240@tryton.org>
2021-04-14 00:46:22albertcasetrecipients: + ced
2021-04-14 00:46:22albertcalinkissue10240 messages
2021-04-14 00:46:22albertcacreate

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