health-dev
[Top][All Lists]
Advanced

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

Re: [Health-dev] print prescription error


From: Armand MPASSY-NZOUMBA
Subject: Re: [Health-dev] print prescription error
Date: Sun, 16 Aug 2020 04:28:27 +0000 (UTC)

Hi Edgar

On Saturday, August 15, 2020, 6:45:20 PM GMT+2, Edgar Hagenbichler <edgar.hagenbichler@hagenbichler.at> wrote:


> '__relatorio_escape_invalid_chars(format_date(prescription.report_prescription_date,
> user.language))'>
>   File "/trytond/report/report.py", line 339, in format_date
>    lang = Lang.get()
>   File "/trytond/ir/lang.py", line 313, in get
    ('code', '=', code),
> 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

Kind regards

Armand

reply via email to

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