IndexError when lauching a printing report from a wizard

Agradezco si me pueden ayudar a identificar el origen del siguiente error:

Traceback (most recent call last):
  File "/usr/local/lib/python37/dist-packages/trytond/wsgipy", line 117, in dispatch_request
    return endpoint(request, **requestview_args)
  File "/usr/local/lib/python37/dist-packages/trytond/protocols/dispatcherpy", line 47, in rpc
    request, database_name, *requestrpc_params)
  File "/usr/local/lib/python37/dist-packages/trytond/wsgipy", line 84, in auth_required
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python37/dist-packages/trytond/protocols/wrapperspy", line 159, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/usr/local/lib/python37/dist-packages/trytond/protocols/dispatcherpy", line 180, in _dispatch
    result = rpcresult(meth(*c_args, **c_kwargs))
  File "/usr/local/lib/python37/dist-packages/trytond/wizard/wizardpy", line 313, in execute
    return wizard_execute(state_name)
  File "/usr/local/lib/python37/dist-packages/trytond/wizard/wizardpy", line 336, in _execute
    action = stateget_action()
  File "/usr/local/lib/python37/dist-packages/trytond/wizard/wizardpy", line 182, in get_action
    action_report = action_reports[0]
IndexError: list index out of range

The report name define on the wizard StateReport is not registered in the ir.action.report model.

Reviso el módulo que define el reporte que está en el StateReport y es el mismo del asistente, reviso el init y allí también está incluido. ¿Qué debería hacer? ¿Reinstalar el módulo?

You should check the logs of the database update, there should be some warnings.

A mi me paso algo similar, y se me soluciono activando el informe que intentas generar desde la ruta administración/interfaz de usuario/acciones/informes y lo activas.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.