[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health] help needed, after setup can´t input any patients

From: Edgar_
Subject: Re: [Health] help needed, after setup can´t input any patients
Date: Fri, 2 Jul 2021 21:30:54 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

Dear Osvaldo

Am 02.07.2021 um 17:40 schrieb Osvaldo Alonso:



Here I have uploaded some screenshots that shows where I got stuck.



Maybe you forgot to define a Currency, see





You have to to define first your Health Institution with Code and Public Level. Every bold field is mandatory.


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/", line 79, in dispatch_request

    return endpoint(request, **request.view_args)

  File "/trytond/protocols/", line 45, in rpc

    return methods.get(request.rpc_method, _dispatch)(

  File "/trytond/", line 50, in auth_required

    return wrapped(*args, **kwargs)

  File "/trytond/protocols/", line 122, in wrapper

    return func(request, pool, *args, **kwargs)

  File "/trytond/protocols/", line 176, in _dispatch

    result = rpc.result(meth(*c_args, **c_kwargs))

  File "/trytond/wizard/", line 292, in execute

    return wizard._execute(state_name)

  File "/trytond/wizard/", line 323, in _execute

    result = self._execute(transition())

  File "/trytond/modules/party/", line 627, in transition_erase

    Model.write(records, {'active': False})

  File "/trytond/modules/health_federation/", line 480, in write

   super(PartyFed, cls).write(parties, values)

  File "/trytond/modules/health/", line 618, in write

    person_id = parties[0].id

IndexError: list index out of range


Fault: list index out of range


As far as I know it is difficult to erase am entry, better just remove the active check as you did.

All the best


reply via email to

[Prev in Thread] Current Thread [Next in Thread]