?
Another thing I got
trouble with was when I tried to erase the test data above,
I removed the active check and then when I try to erase
under actions it shows this tryton error:
----------------------------------------------------------------------------
Traceback (most recent
call last):
? File
"/trytond/wsgi.py", line 79, in dispatch_request
????return
endpoint(request, **request.view_args)
? File
"/trytond/protocols/dispatcher.py", line 45, in rpc
??? return
methods.get(request.rpc_method, _dispatch)(
? File
"/trytond/wsgi.py", line 50, in auth_required
??? return
wrapped(*args, **kwargs)
? File
"/trytond/protocols/wrappers.py", line 122, in wrapper
??? return func(request,
pool, *args, **kwargs)
? File
"/trytond/protocols/dispatcher.py", line 176, in _dispatch
??? result =
rpc.result(meth(*c_args, **c_kwargs))
? File
"/trytond/wizard/wizard.py", line 292, in execute
??? return
wizard._execute(state_name)
? File
"/trytond/wizard/wizard.py", line 323, in _execute
??? result =
self._execute(transition())
? File
"/trytond/modules/party/party.py", line 627, in
transition_erase
??? Model.write(records,
{'active': False})
? File
"/trytond/modules/health_federation/health_federation.py",
line 480, in write
???super(PartyFed,
cls).write(parties, values)
? File
"/trytond/modules/health/health.py", line 618, in write
??? person_id =
parties[0].id
IndexError: list index
out of range
?
Fault: list index out of
range
------------------------------------------------------------------------------------------------------------------