Message 73870

Author
booraa0a
Date
2022-02-04.03:45:58
Message id
73870

Content

I got this error in 6.2 when I click done in production/productions

Traceback (most recent call last):
  File "/usr/local/lib/python39/dist-packages/trytond/wsgipy", line 117, in dispatch_request
    return endpoint(request, **requestview_args)
  File "/usr/local/lib/python39/dist-packages/trytond/protocols/dispatcherpy", line 46, in rpc
    return methodsget(requestrpc_method, _dispatch)(
  File "/usr/local/lib/python39/dist-packages/trytond/wsgipy", line 84, in auth_required
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python39/dist-packages/trytond/protocols/wrapperspy", line 159, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/usr/local/lib/python39/dist-packages/trytond/protocols/dispatcherpy", line 180, in _dispatch
    result = rpcresult(meth(*c_args, **c_kwargs))
  File "/usr/local/lib/python39/dist-packages/trytond/model/modelviewpy", line 774, in wrapper
    return func(cls, records, *args, **kwargs)
  File "/usr/local/lib/python39/dist-packages/trytond/model/workflowpy", line 37, in wrapper
    result = func(cls, filtered, *args, **kwargs)
  File "/usr/local/lib/python39/dist-packages/trytond/modules/production_work/productionpy", line 135, in done
    super(Production, cls)done(productions)
  File "/usr/local/lib/python39/dist-packages/trytond/model/modelviewpy", line 774, in wrapper
    return func(cls, records, *args, **kwargs)
  File "/usr/local/lib/python39/dist-packages/trytond/model/workflowpy", line 37, in wrapper
    result = func(cls, filtered, *args, **kwargs)
  File "/usr/local/lib/python39/dist-packages/trytond/modules/production_outsourcing/productionpy", line 242, in done
    super(Production, cls)done(productions)
  File "/usr/local/lib/python39/dist-packages/trytond/model/modelviewpy", line 774, in wrapper
    return func(cls, records, *args, **kwargs)
  File "/usr/local/lib/python39/dist-packages/trytond/model/workflowpy", line 37, in wrapper
    result = func(cls, filtered, *args, **kwargs)
  File "/usr/local/lib/python39/dist-packages/trytond/modules/sale_supply_production/productionpy", line 27, in wrapper
    func(cls, productions)
  File "/usr/local/lib/python39/dist-packages/trytond/modules/sale_supply_production/productionpy", line 82, in done
    productionassign_supplied()
  File "/usr/local/lib/python39/dist-packages/trytond/modules/sale_supply_production/productionpy", line 115, in assign_supplied
    sale_lineassign_supplied(pbl[sale_lineproduct], grouping=grouping)
  File "/usr/local/lib/python39/dist-packages/trytond/modules/sale_supply/salepy", line 223, in assign_supplied
    for inv_move in moveshipmentinventory_moves:
AttributeError: 'NoneType' object has no attribute 'inventory_moves'
History
Date User Action Args
2022-02-04 03:45:59booraa0asetmessageid: <1643942759.087501.AAGTHKBOZHSOT5GQ.issue11217@tryton.org>
2022-02-04 03:45:59booraa0alinkissue11217 messages
2022-02-04 03:45:58booraa0acreate

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