|
From: | Edgar Hagenbichler |
Subject: | Re: [Health-dev] print prescription error |
Date: | Sun, 16 Aug 2020 10:47:20 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
Dear Armand,
> ValueError: not enough values to unpack (expected 1, got 0)
> Has anyone an idea what I am doing wrong? Or is it a bug?
It is not a bug as such. I asked the same questions sometimes back in the general GNU Health mailing list. Luis advised to set the party's language. Under: Party-configuration
You may also set the language's value in the trytond.conf file
thank you very much for your advice! It works now!
Today I logged into the fresh federation server as demo_doctor,
and then tried to make a prescription to Carlos, Roberto, and I
got the message "no health professional associated to this user".
So I logged in as admin and assigned for Cameron Cordara as
Internal User "Health Doctor" instead of "Administrator". Then I
set the language as english at Party Configuration - Party
Sequence as you recommended and also at
Administration-Users-Users-Preferences: English.
Logging in again as demo_doctor and creating a new prescription
with ASS and generating validation worked, also with "Printing
Report - Prescriptions". I had to save the document as pdf.
All the best
Edgar
[Prev in Thread] | Current Thread | [Next in Thread] |