MESSAGE
DATE | 2020-05-15 |
FROM | From: "Odile C. Kamno"
|
SUBJECT | Re: [Hangout - NYLXS] [Health] Error Message: "There is no "account
|
From hangout-bounces-at-nylxs.com Fri May 15 22:35:07 2020 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www2.mrbrklyn.com (www2.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id 296CD163FB0; Fri, 15 May 2020 22:35:03 -0400 (EDT) X-Original-To: hangout-at-www2.mrbrklyn.com Delivered-To: hangout-at-www2.mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 1000) id D8C7D163FD3; Fri, 15 May 2020 22:34:43 -0400 (EDT) Resent-From: Ruben Safir Resent-Date: Fri, 15 May 2020 22:34:43 -0400 Resent-Message-ID: <20200516023443.GA6231-at-www2.mrbrklyn.com> Resent-To: hangout-at-mrbrklyn.com X-Original-To: ruben-at-mrbrklyn.com Delivered-To: ruben-at-mrbrklyn.com Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mrbrklyn.com (Postfix) with ESMTP id E02A9163FD3 for ; Fri, 15 May 2020 16:21:52 -0400 (EDT) Received: from localhost ([::1]:53632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZgq5-0001h4-HA for ruben-at-mrbrklyn.com; Fri, 15 May 2020 16:21:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZeQH-0004k5-B6 for health-at-gnu.org; Fri, 15 May 2020 13:47:01 -0400 Received: from mail-oln040092072105.outbound.protection.outlook.com ([40.92.72.105]:58950 helo=EUR03-VE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZeQD-0006uB-12 for health-at-gnu.org; Fri, 15 May 2020 13:47:00 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QRzAFxzR9D8HTJCTTj+HvqYWSwtew8Iu86VBPkXfkizVB88El3qcT4Rus5mlMICgTLPXH5GnK5vZVGq/rYzd4nkzi/gqXEVe1r9Q7IADF2YTZDJebtd0IAz2WS7TFf3yuwWRS4hWlZu4vlDajcz5OhvRHG8unlu4vDgK0KspoCGiuIqHKDM3/cR5LZH+G2aOcGSFLA4vYXuVal7NbbVqTvtEaQvLD+V/WYIHxQM5qWrjdM6VjYjjZKd76faWCP7tFarCrgSBm4p41gj51nFn3gtNazVeltUnPiDuuk0mncfo0rvEI7lZU+YAM6yl/D3vAyrRESVayL128K2GKjr2gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sJp1WsWlr1TChxmk1ddJrP5aGk8yllidGIMyOSDrJu4=; b=Ma1ZgTFMzC+nVrEmh3y0MO5S1Z8+0F2yPgzmG9DU29UiXJ/RHcWNYprKqvuRSuoz3fsQPcDsvr64U+X2LjjfmyP0pv8jPd4bXMRqklGc653p0g/QEIv00eOazooeTgET7jbZ5VPX6t1qooinBoZO1PB4h5ID3RIRU9T9LFt+zmUjfyJzxckIii2heDJ6McxJP/585u1A59yrjZfH23x8Mhd0gO539I4dV3lvdl80cE70dzgxOW4Ds7Drdaykjc9JEa3QDYubi/KIxgV9JhfI176u14/dgAObC82pu7c06gIyaKTEnhCyBpVEz+T10L4GHWmkAGc/bBbZK/aSuC4pAw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sJp1WsWlr1TChxmk1ddJrP5aGk8yllidGIMyOSDrJu4=; b=Je9Ekqf9NvqcqkxmzfNs7XD5loSleHhPzg2pIjk2F5Ac32hM693pKkXNToIdjJ2hvmXwGElF3D047Fne0trs27xs+FyK2Frb/9aU7q+eDFNPueZ+HrzBuOFcvUX5/VkysI5Z/JKl7JLnfPdaMtyP6eSpTCUIynp2micGg7DJd3gfiBSZQ1+7HbSq6FlUDSvoErb+RnT0NPaVNF9lkV09Hu+UTvf3GWcKUPe4yt9vpTdbFuQ82h4TMsJd9W/inpWU1muc5hxU5JmgncnfHPXi5BfvRUoaHGW2H8EXU5IcLIA0qkiT3cVU90alj4sUkzEhdfHymxhPBHFjNL6gHurc3w== Received: from DB5EUR03FT021.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e0a::44) by DB5EUR03HT015.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e0a::335) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.19; Fri, 15 May 2020 17:31:51 +0000 Received: from AM7P191MB0897.EURP191.PROD.OUTLOOK.COM (2a01:111:e400:7e0a::4a) by DB5EUR03FT021.mail.protection.outlook.com (2a01:111:e400:7e0a::238) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.19 via Frontend Transport; Fri, 15 May 2020 17:31:51 +0000 Received: from AM7P191MB0897.EURP191.PROD.OUTLOOK.COM ([fe80::30b3:7415:f5d7:9836]) by AM7P191MB0897.EURP191.PROD.OUTLOOK.COM ([fe80::30b3:7415:f5d7:9836%4]) with mapi id 15.20.3000.022; Fri, 15 May 2020 17:31:51 +0000 From: "Odile C. Kamno" To: "health-at-gnu.org" Thread-Topic: Error Message: "There is no "account category" defined on the product" Thread-Index: AQHWKt64RaKU4TTOukO7PWACv1eV5Q== Date: Fri, 15 May 2020 17:31:51 +0000 Message-ID: References: In-Reply-To: Accept-Language: fr-FR, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:185CB861F937E34E01E5C958391D0618B7F2DBF3577877E61E6A06A226944F42; UpperCasedChecksum:4235B67EE9262DF87FA7003BA3513414B442CB16D493D609BD04C9A52AB7EEE0; SizeAsReceived:7015; Count:45 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [evaFztlMxa22Cp4ZnWwg+QOyYLzU2erD] x-ms-publictraffictype: Email x-incomingheadercount: 45 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: f9aa41d2-1d23-4d02-6743-08d7f8f5dae3 x-ms-traffictypediagnostic: DB5EUR03HT015: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +a6g5GbSBXWfHCoTQPD/PnSl6pgkz6zOmClf/uhgFUhs7BVW+9vdmfYK4BtvwzIJQAkvrk5p7y0zDIbbgBDbQSswohEH/waw2+EaoSKcMyxwVmOdoLcYYWAumfHVKD9VZ5FiQRabjlWbBrSSJnoaJXEHi1Z1EVVvITTrSwOADqahcccQ4obI+vy4LjmGKABxZWt3+LnRtuuYsPBdYG3OKIQrVOnQwqWxRGM6xVX295LZMnXvVB9OX87Au+7CT/Qu x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:AM7P191MB0897.EURP191.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; x-ms-exchange-antispam-messagedata: 7LGzk0t/sCe2yos9o011kE3P1TwyVUDQVOqK4uE7LDz4cJY5pn8/7MkWh4t+vz2Tc+a0wEdZmmRJJtR3EiUO4DMrqJ4yiigHpgbz4euSdcne/1EttjYlYtjx/4S+zzqIVO173dW+zOJ+A5T+mO+f8w== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: f9aa41d2-1d23-4d02-6743-08d7f8f5dae3 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 May 2020 17:31:51.8728 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5EUR03HT015 Received-SPF: pass client-ip=40.92.72.105; envelope-from=christelia3-at-hotmail.com; helo=EUR03-VE1-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/15 13:46:55 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Fri, 15 May 2020 16:21:45 -0400 X-BeenThere: health-at-gnu.org X-Mailman-Version: 2.1.23 Precedence: list Subject: Re: [Hangout - NYLXS] [Health] Error Message: "There is no "account category" defined on the product" X-BeenThere: hangout-at-nylxs.com List-Id: NYLXS Tech Talk and Politics List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: General GNU Health discussion and help Content-Type: multipart/mixed; boundary="===============1414912413==" Errors-To: hangout-bounces-at-nylxs.com Sender: "Hangout"
--===============1414912413== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_AM7P191MB08978FBCCC25A7A92FBA7979EABD0AM7P191MB0897EURP_"
--_000_AM7P191MB08978FBCCC25A7A92FBA7979EABD0AM7P191MB0897EURP_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Hi Axel,
what i am trying to do is to generate an invoice from a created Service.
It also works for me when i create an invoice directly from the invoice Win= dows without going through the Health Service (i haven=92t tried to post it= ).
Well, it is not really an error but the System is telling me that no accoun= t category is defined on the chosen product (in this case [AMOX-500-CA] Amo= xicillin 500mg capsules) although an account category is correctly defined = on the named product as depicted in the screenshot. I am a Little bit confu= sed
Thanks and regards,
Gesendet von Mail f=FCr W= indows 10
Von: health-request-at-gnu.org Gesendet: Freitag, 15. Mai 2020 18:00 An: health-at-gnu.org Betreff: Health Digest, Vol 106, Issue 10
Send Health mailing list submissions to health-at-gnu.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.gnu.org/mailman/listinfo/health or, via email, send a message with subject or body 'help' to health-request-at-gnu.org
You can reach the person managing the list at health-owner-at-gnu.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Health digest..."
Today's Topics:
1. Re: Tryton-server (Axel Braun) 2. Re: Error Message: "There is no "account category" defined on the product" (Axel Braun)
----------------------------------------------------------------------
Message: 1 Date: Fri, 15 May 2020 17:31:50 +0200 From: Axel Braun To: Yusif Suleiman , health-at-gnu.org Subject: Re: [Health] Tryton-server Message-ID: <3688526.GQry6WjoCA-at-x1e> Content-Type: text/plain; charset=3D"us-ascii"
**** please ask via health-at-gnu.org *****
Am Freitag, 15. Mai 2020, 15:58:30 CEST schrieb Yusif Suleiman:
[...]
> OK...so what versions of GNU Health do you use? What is your base system, > and are client and server o the same machine? > > >>>>>>> Am installing gnuhealth client version 3.4., and I am using Windo= ws > >>>>>>> base systems with virtual box 4GB RAM & 20GB HDD.
1) use the latest GNU Health and enjoy additional functionality, as describ= ed in https://en.opensuse.org/GNUHealth_on_openSUSE#Quick_Start (as you have already GH installed, after adding the respository you need to run zypper up --allow-vendor-change )
2) If you install the client in the same virtualbox, can this client connec= t to the server?
3) In order to allow the server inside a virtual machine to receive conneci= on requests from a client outside of that machine yo need to:
3.1) open port 8000 in the firewall (or switch it off *for testing purposes only*). Use the firewall module in YaST.
3.2) Set the network mode of the virtual box to 'Bridged' (normally VBox us= es NAT as network mode, so the server receives a local address and is not visi= ble from the outside. In bridged mode, it gets an address from the DHCP-server = in the network)
> >>>>>>> I have two > >>>>>>> computers to which I want to connect as client and server for > >>>>>>> testing purpose (before implementing in real environment).>
Please try the above and report back!
Best, Axel
------------------------------
Message: 2 Date: Fri, 15 May 2020 17:49:32 +0200 From: Axel Braun To: "health-at-gnu.org" Subject: Re: [Health] Error Message: "There is no "account category" defined on the product" Message-ID: <3113602.GqBkqhp7OW-at-x1e> Content-Type: text/plain; charset=3D"us-ascii"
Hello Odile
Am Freitag, 15. Mai 2020, 16:33:44 CEST schrieb Odile C. Kamno: > when i try to generate an invoice from a service , i get the error messag= e: > "There is no "account category" defined on the product"Amoxiciline..". Wh= en > i go to this product i can see that the account category is maintained. > > See attached screenshots.
Where exactly do you see the error?
Just tried the same (create an invoice with 1 line item Amoxy 500 capsules)= , validate, and then post it:
ERROR:tryton.common.common:Traceback (most recent call last): File "/trytond/wsgi.py", line 73, in dispatch_request return endpoint(request, **request.view_args) File "/trytond/protocols/dispatcher.py", line 46, in rpc request, database_name, *request.rpc_params) File "/wrapt/wrappers.py", line 564, in __call__ args, kwargs) File "/trytond/wsgi.py", line 44, 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 =3D rpc.result(meth(*c_args, **c_kwargs)) File "/trytond/modules/purchase/invoice.py", line 21, in wrapper func(cls, invoices) File "/trytond/modules/purchase/invoice.py", line 98, in post super(Invoice, cls).post(invoices) File "/trytond/model/modelview.py", line 672, in wrapper return func(cls, records, *args, **kwargs) File "/trytond/model/workflow.py", line 36, in wrapper result =3D func(cls, filtered, *args, **kwargs) File "/trytond/modules/account_invoice/invoice.py", line 1383, in post invoice.print_invoice() File "/trytond/modules/account_invoice/invoice.py", line 1292, in print_invoice InvoiceReport.execute([self.id], {}) File "/trytond/modules/account_invoice/invoice.py", line 2437, in execute result =3D super(InvoiceReport, cls).execute(ids, data) File "/trytond/report/report.py", line 182, in execute oext, content =3D cls._execute(records, data, action_report) File "/trytond/modules/account_invoice/invoice.py", line 2418, in _execut= e result =3D super(InvoiceReport, cls)._execute(records, data, action) File "/trytond/report/report.py", line 190, in _execute return cls.convert(action, cls.render(action, report_context)) File "/trytond/report/report.py", line 288, in render data =3D rel_report(**report_context).render() File "/relatorio/templates/base.py", line 35, in render self.events, method=3Dmethod, encoding=3Dencoding, out=3Dout) File "/relatorio/templates/opendocument.py", line 1161, in __call__ self.xml_serializer(writer(stream)), encoding=3Dencoding, out=3Dwriter) File "/genshi/output.py", line 58, in encode for chunk in iterator: File "/genshi/output.py", line 241, in __call__ for kind, data, pos in stream: File "/genshi/output.py", line 671, in __call__ for kind, data, pos in stream: File "/genshi/output.py", line 776, in __call__ for kind, data, pos in chain(stream, [(None, None, None)]): File "/genshi/output.py", line 596, in __call__ for ev in stream: File "/relatorio/templates/opendocument.py", line 1053, in __call__ for kind, data, pos in stream: File "/genshi/core.py", line 292, in _ensure for event in stream: File "/genshi/filters/i18n.py", line 691, in __call__ for kind, data, pos in stream: File "/genshi/template/base.py", line 638, in _include for event in stream: File "/genshi/template/markup.py", line 327, in _match for event in stream: File "/genshi/template/base.py", line 598, in _flatten result =3D _eval_expr(data, ctxt, vars) File "/genshi/template/base.py", line 289, in _eval_expr retval =3D expr.evaluate(ctxt) File "/genshi/template/eval.py", line 178, in evaluate return eval(self.code, _globals, {'__data__': data}) File "", line 375, in '__relatorio_escape_invalid_chars(format_date(invoice.invoice_date or today= , invoice.party.lang))'> File "/trytond/report/report.py", line 338, in format_date lang =3D Lang.get() File "/trytond/ir/lang.py", line 313, in get ('code', '=3D', code), ValueError: not enough values to unpack (expected 1, got 0)
Fault: not enough values to unpack (expected 1, got 0)
(This window should really be scalable!)
Best, Axel
------------------------------
Subject: Digest Footer
_______________________________________________ Health mailing list Health-at-gnu.org https://lists.gnu.org/mailman/listinfo/health
------------------------------
End of Health Digest, Vol 106, Issue 10 ***************************************
--_000_AM7P191MB08978FBCCC25A7A92FBA7979EABD0AM7P191MB0897EURP_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
hemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/of= fice/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40">
252">
Hi Axel, what i am trying to do is to generate an invoice fro= m a created Service. It also works for me when i create an invoice direct= ly from the invoice Windows without going through the Health Service (i hav= en=92t tried to post it). Well, it is not really an error but the System is te= lling me that no account category is defined on the chosen product (in this= case [AMOX-500-CA] Amoxicillin 500mg capsules) although an account categor= y is correctly defined on the named product as depicted in the screenshot. I am a Little bit confused Thanks and regards, Gesendet von ink/?LinkId=3D550986"> Mail f=FCr Windows 10 Send Health mailing list submissions to
health-at-gnu.org
To subscribe or unsubscribe via the World Wide Web, visit
/mailman/listinfo/health">https://lists.gnu.org/mailman/listinfo/health=
or, via email, send a message with subject or body 'help' to
health-request-at-gnu.org
You can reach the person managing the list at
health-owner-at-gnu.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Health digest..."
Today's Topics:
1. Re: Tryton-server (Axel Braun)
2. Re: Error Message: "There is no "account category= " defined on
the product" (Axel Braun)
----------------------------------------------------------------------
Message: 1
Date: Fri, 15 May 2020 17:31:50 +0200
From: Axel Braun <axel.braun-at-gmx.de>
To: Yusif Suleiman <yusifsuleiman-at-hotmail.com>, health-at-gnu.org
Subject: Re: [Health] Tryton-server
Message-ID: <3688526.GQry6WjoCA-at-x1e>
Content-Type: text/plain; charset=3D"us-ascii"
**** please ask via health-at-gnu.org *****
Am Freitag, 15. Mai 2020, 15:58:30 CEST schrieb Yusif Suleiman:
[...]
> OK...so what versions of GNU Health do you use? What is your base syst= em,
> and are client and server o the same machine?
>
> >>>>>>> Am installing gnuhealth client version 3.= 4., and I am using Windows
> >>>>>>> base systems with virtual box 4GB RAM &am= p; 20GB HDD.
1) use the latest GNU Health and enjoy additional functionality, as describ= ed
in ht= tps://en.opensuse.org/GNUHealth_on_openSUSE#Quick_Start
(as you have already GH installed, after adding the respository you need to=
run
zypper up --allow-vendor-change )
2) If you install the client in the same virtualbox, can this client connec= t
to the server?
3) In order to allow the server inside a virtual machine to receive conneci= on
requests from a client outside of that machine yo need to:
3.1) open port 8000 in the firewall (or switch it off *for testing purposes=
only*). Use the firewall module in YaST.
3.2) Set the network mode of the virtual box to 'Bridged' (normally VBox us= es
NAT as network mode, so the server receives a local address and is not visi= ble
from the outside. In bridged mode, it gets an address from the DHCP-server = in
the network)
> >>>>>>> I have two
> >>>>>>> computers to which I want to connect as c= lient and server for
> >>>>>>> testing purpose (before implementing in r= eal environment).>
Please try the above and report back!
Best,
Axel
------------------------------
Message: 2
Date: Fri, 15 May 2020 17:49:32 +0200
From: Axel Braun <axel.braun-at-gmx.de>
To: "health-at-gnu.org" <health-at-gnu.org>
Subject: Re: [Health] Error Message: "There is no "account catego= ry"
defined on the product"
Message-ID: <3113602.GqBkqhp7OW-at-x1e>
Content-Type: text/plain; charset=3D"us-ascii"
Hello Odile
Am Freitag, 15. Mai 2020, 16:33:44 CEST schrieb Odile C. Kamno:
> when i try to generate an invoice from a service , i get the error mes= sage:
> "There is no "account category" defined on the product&= quot;Amoxiciline..". When
> i go to this product i can see that the account category is maintained= .
>
> See attached screenshots.
Where exactly do you see the error?
Just tried the same (create an invoice with 1 line item Amoxy 500 capsules)= ,
validate, and then post it:
ERROR:tryton.common.common:Traceback (most recent call last):
File "/trytond/wsgi.py", line 73, in dispatch_request
return endpoint(request, **request.view_args)
File "/trytond/protocols/dispatcher.py", line 46, in rpcr> request, database_name, *request.rpc_params)
File "/wrapt/wrappers.py", line 564, in __call__
args, kwargs)
File "/trytond/wsgi.py", line 44, in auth_required
return wrapped(*args, **kwargs)
File "/trytond/protocols/wrappers.py", line 122, in wrappe= r
return func(request, pool, *args, **kwargs)
File "/trytond/protocols/dispatcher.py", line 176, in _dis= patch
result =3D rpc.result(meth(*c_args, **c_kwargs))
File "/trytond/modules/purchase/invoice.py", line 21, in w= rapper
func(cls, invoices)
File "/trytond/modules/purchase/invoice.py", line 98, in p= ost
super(Invoice, cls).post(invoices)
File "/trytond/model/modelview.py", line 672, in wrapperr> return func(cls, records, *args, **kwargs)
File "/trytond/model/workflow.py", line 36, in wrapper
result =3D func(cls, filtered, *args, **kwargs)
File "/trytond/modules/account_invoice/invoice.py", line 1= 383, in post
invoice.print_invoice()
File "/trytond/modules/account_invoice/invoice.py", line 1= 292, in
print_invoice
InvoiceReport.execute([self.id], {})
File "/trytond/modules/account_invoice/invoice.py", line 2= 437, in execute
result =3D super(InvoiceReport, cls).execute(ids, data)<= br> File "/trytond/report/report.py", line 182, in execute
oext, content =3D cls._execute(records, data, action_rep= ort)
File "/trytond/modules/account_invoice/invoice.py", line 2= 418, in _execute
result =3D super(InvoiceReport, cls)._execute(records, d= ata, action)
File "/trytond/report/report.py", line 190, in _execute > return cls.convert(action, cls.render(action, report_con= text))
File "/trytond/report/report.py", line 288, in render
data =3D rel_report(**report_context).render()
File "/relatorio/templates/base.py", line 35, in render > self.events, method=3Dmethod, encoding=3Dencoding, out= =3Dout)
File "/relatorio/templates/opendocument.py", line 1161, in= __call__
self.xml_serializer(writer(stream)), encoding=3Dencoding= , out=3Dwriter)
File "/genshi/output.py", line 58, in encode
for chunk in iterator:
File "/genshi/output.py", line 241, in __call__
for kind, data, pos in stream:
File "/genshi/output.py", line 671, in __call__
for kind, data, pos in stream:
File "/genshi/output.py", line 776, in __call__
for kind, data, pos in chain(stream, [(None, None, None)= ]):
File "/genshi/output.py", line 596, in __call__
for ev in stream:
File "/relatorio/templates/opendocument.py", line 1053, in= __call__
for kind, data, pos in stream:
File "/genshi/core.py", line 292, in _ensure
for event in stream:
File "/genshi/filters/i18n.py", line 691, in __call__
for kind, data, pos in stream:
File "/genshi/template/base.py", line 638, in _include
for event in stream:
File "/genshi/template/markup.py", line 327, in _match
for event in stream:
File "/genshi/template/base.py", line 598, in _flatten
result =3D _eval_expr(data, ctxt, vars)
File "/genshi/template/base.py", line 289, in _eval_exprr> retval =3D expr.evaluate(ctxt)
File "/genshi/template/eval.py", line 178, in evaluate
return eval(self.code, _globals, {'__data__': data})
File "<string>", line 375, in <Expression
'__relatorio_escape_invalid_chars(format_date(invoice.invoice_date or today= ,
invoice.party.lang))'>
File "/trytond/report/report.py", line 338, in format_date=
lang =3D Lang.get()
File "/trytond/ir/lang.py", line 313, in get
('code', '=3D', code),
ValueError: not enough values to unpack (expected 1, got 0)
Fault: not enough values to unpack (expected 1, got 0)
(This window should really be scalable!)
Best,
Axel
------------------------------
Subject: Digest Footer
_______________________________________________
Health mailing list
Health-at-gnu.org
https://lists.gnu= .org/mailman/listinfo/health
------------------------------
End of Health Digest, Vol 106, Issue 10
***************************************
--_000_AM7P191MB08978FBCCC25A7A92FBA7979EABD0AM7P191MB0897EURP_--
--===============1414912413== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
--===============1414912413==--
--===============1414912413== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_AM7P191MB08978FBCCC25A7A92FBA7979EABD0AM7P191MB0897EURP_"
--_000_AM7P191MB08978FBCCC25A7A92FBA7979EABD0AM7P191MB0897EURP_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Hi Axel,
what i am trying to do is to generate an invoice from a created Service.
It also works for me when i create an invoice directly from the invoice Win= dows without going through the Health Service (i haven=92t tried to post it= ).
Well, it is not really an error but the System is telling me that no accoun= t category is defined on the chosen product (in this case [AMOX-500-CA] Amo= xicillin 500mg capsules) although an account category is correctly defined = on the named product as depicted in the screenshot. I am a Little bit confu= sed
Thanks and regards,
Gesendet von Mail f=FCr W= indows 10
Von: health-request-at-gnu.org Gesendet: Freitag, 15. Mai 2020 18:00 An: health-at-gnu.org Betreff: Health Digest, Vol 106, Issue 10
Send Health mailing list submissions to health-at-gnu.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.gnu.org/mailman/listinfo/health or, via email, send a message with subject or body 'help' to health-request-at-gnu.org
You can reach the person managing the list at health-owner-at-gnu.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Health digest..."
Today's Topics:
1. Re: Tryton-server (Axel Braun) 2. Re: Error Message: "There is no "account category" defined on the product" (Axel Braun)
----------------------------------------------------------------------
Message: 1 Date: Fri, 15 May 2020 17:31:50 +0200 From: Axel Braun To: Yusif Suleiman , health-at-gnu.org Subject: Re: [Health] Tryton-server Message-ID: <3688526.GQry6WjoCA-at-x1e> Content-Type: text/plain; charset=3D"us-ascii"
**** please ask via health-at-gnu.org *****
Am Freitag, 15. Mai 2020, 15:58:30 CEST schrieb Yusif Suleiman:
[...]
> OK...so what versions of GNU Health do you use? What is your base system, > and are client and server o the same machine? > > >>>>>>> Am installing gnuhealth client version 3.4., and I am using Windo= ws > >>>>>>> base systems with virtual box 4GB RAM & 20GB HDD.
1) use the latest GNU Health and enjoy additional functionality, as describ= ed in https://en.opensuse.org/GNUHealth_on_openSUSE#Quick_Start (as you have already GH installed, after adding the respository you need to run zypper up --allow-vendor-change )
2) If you install the client in the same virtualbox, can this client connec= t to the server?
3) In order to allow the server inside a virtual machine to receive conneci= on requests from a client outside of that machine yo need to:
3.1) open port 8000 in the firewall (or switch it off *for testing purposes only*). Use the firewall module in YaST.
3.2) Set the network mode of the virtual box to 'Bridged' (normally VBox us= es NAT as network mode, so the server receives a local address and is not visi= ble from the outside. In bridged mode, it gets an address from the DHCP-server = in the network)
> >>>>>>> I have two > >>>>>>> computers to which I want to connect as client and server for > >>>>>>> testing purpose (before implementing in real environment).>
Please try the above and report back!
Best, Axel
------------------------------
Message: 2 Date: Fri, 15 May 2020 17:49:32 +0200 From: Axel Braun To: "health-at-gnu.org" Subject: Re: [Health] Error Message: "There is no "account category" defined on the product" Message-ID: <3113602.GqBkqhp7OW-at-x1e> Content-Type: text/plain; charset=3D"us-ascii"
Hello Odile
Am Freitag, 15. Mai 2020, 16:33:44 CEST schrieb Odile C. Kamno: > when i try to generate an invoice from a service , i get the error messag= e: > "There is no "account category" defined on the product"Amoxiciline..". Wh= en > i go to this product i can see that the account category is maintained. > > See attached screenshots.
Where exactly do you see the error?
Just tried the same (create an invoice with 1 line item Amoxy 500 capsules)= , validate, and then post it:
ERROR:tryton.common.common:Traceback (most recent call last): File "/trytond/wsgi.py", line 73, in dispatch_request return endpoint(request, **request.view_args) File "/trytond/protocols/dispatcher.py", line 46, in rpc request, database_name, *request.rpc_params) File "/wrapt/wrappers.py", line 564, in __call__ args, kwargs) File "/trytond/wsgi.py", line 44, 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 =3D rpc.result(meth(*c_args, **c_kwargs)) File "/trytond/modules/purchase/invoice.py", line 21, in wrapper func(cls, invoices) File "/trytond/modules/purchase/invoice.py", line 98, in post super(Invoice, cls).post(invoices) File "/trytond/model/modelview.py", line 672, in wrapper return func(cls, records, *args, **kwargs) File "/trytond/model/workflow.py", line 36, in wrapper result =3D func(cls, filtered, *args, **kwargs) File "/trytond/modules/account_invoice/invoice.py", line 1383, in post invoice.print_invoice() File "/trytond/modules/account_invoice/invoice.py", line 1292, in print_invoice InvoiceReport.execute([self.id], {}) File "/trytond/modules/account_invoice/invoice.py", line 2437, in execute result =3D super(InvoiceReport, cls).execute(ids, data) File "/trytond/report/report.py", line 182, in execute oext, content =3D cls._execute(records, data, action_report) File "/trytond/modules/account_invoice/invoice.py", line 2418, in _execut= e result =3D super(InvoiceReport, cls)._execute(records, data, action) File "/trytond/report/report.py", line 190, in _execute return cls.convert(action, cls.render(action, report_context)) File "/trytond/report/report.py", line 288, in render data =3D rel_report(**report_context).render() File "/relatorio/templates/base.py", line 35, in render self.events, method=3Dmethod, encoding=3Dencoding, out=3Dout) File "/relatorio/templates/opendocument.py", line 1161, in __call__ self.xml_serializer(writer(stream)), encoding=3Dencoding, out=3Dwriter) File "/genshi/output.py", line 58, in encode for chunk in iterator: File "/genshi/output.py", line 241, in __call__ for kind, data, pos in stream: File "/genshi/output.py", line 671, in __call__ for kind, data, pos in stream: File "/genshi/output.py", line 776, in __call__ for kind, data, pos in chain(stream, [(None, None, None)]): File "/genshi/output.py", line 596, in __call__ for ev in stream: File "/relatorio/templates/opendocument.py", line 1053, in __call__ for kind, data, pos in stream: File "/genshi/core.py", line 292, in _ensure for event in stream: File "/genshi/filters/i18n.py", line 691, in __call__ for kind, data, pos in stream: File "/genshi/template/base.py", line 638, in _include for event in stream: File "/genshi/template/markup.py", line 327, in _match for event in stream: File "/genshi/template/base.py", line 598, in _flatten result =3D _eval_expr(data, ctxt, vars) File "/genshi/template/base.py", line 289, in _eval_expr retval =3D expr.evaluate(ctxt) File "/genshi/template/eval.py", line 178, in evaluate return eval(self.code, _globals, {'__data__': data}) File "", line 375, in '__relatorio_escape_invalid_chars(format_date(invoice.invoice_date or today= , invoice.party.lang))'> File "/trytond/report/report.py", line 338, in format_date lang =3D Lang.get() File "/trytond/ir/lang.py", line 313, in get ('code', '=3D', code), ValueError: not enough values to unpack (expected 1, got 0)
Fault: not enough values to unpack (expected 1, got 0)
(This window should really be scalable!)
Best, Axel
------------------------------
Subject: Digest Footer
_______________________________________________ Health mailing list Health-at-gnu.org https://lists.gnu.org/mailman/listinfo/health
------------------------------
End of Health Digest, Vol 106, Issue 10 ***************************************
--_000_AM7P191MB08978FBCCC25A7A92FBA7979EABD0AM7P191MB0897EURP_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
hemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/of= fice/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40">
252">
Hi Axel, what i am trying to do is to generate an invoice fro= m a created Service. It also works for me when i create an invoice direct= ly from the invoice Windows without going through the Health Service (i hav= en=92t tried to post it). Well, it is not really an error but the System is te= lling me that no account category is defined on the chosen product (in this= case [AMOX-500-CA] Amoxicillin 500mg capsules) although an account categor= y is correctly defined on the named product as depicted in the screenshot. I am a Little bit confused Thanks and regards, Gesendet von ink/?LinkId=3D550986"> Mail f=FCr Windows 10 Send Health mailing list submissions to
health-at-gnu.org
To subscribe or unsubscribe via the World Wide Web, visit
/mailman/listinfo/health">https://lists.gnu.org/mailman/listinfo/health=
or, via email, send a message with subject or body 'help' to
health-request-at-gnu.org
You can reach the person managing the list at
health-owner-at-gnu.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Health digest..."
Today's Topics:
1. Re: Tryton-server (Axel Braun)
2. Re: Error Message: "There is no "account category= " defined on
the product" (Axel Braun)
----------------------------------------------------------------------
Message: 1
Date: Fri, 15 May 2020 17:31:50 +0200
From: Axel Braun <axel.braun-at-gmx.de>
To: Yusif Suleiman <yusifsuleiman-at-hotmail.com>, health-at-gnu.org
Subject: Re: [Health] Tryton-server
Message-ID: <3688526.GQry6WjoCA-at-x1e>
Content-Type: text/plain; charset=3D"us-ascii"
**** please ask via health-at-gnu.org *****
Am Freitag, 15. Mai 2020, 15:58:30 CEST schrieb Yusif Suleiman:
[...]
> OK...so what versions of GNU Health do you use? What is your base syst= em,
> and are client and server o the same machine?
>
> >>>>>>> Am installing gnuhealth client version 3.= 4., and I am using Windows
> >>>>>>> base systems with virtual box 4GB RAM &am= p; 20GB HDD.
1) use the latest GNU Health and enjoy additional functionality, as describ= ed
in ht= tps://en.opensuse.org/GNUHealth_on_openSUSE#Quick_Start
(as you have already GH installed, after adding the respository you need to=
run
zypper up --allow-vendor-change )
2) If you install the client in the same virtualbox, can this client connec= t
to the server?
3) In order to allow the server inside a virtual machine to receive conneci= on
requests from a client outside of that machine yo need to:
3.1) open port 8000 in the firewall (or switch it off *for testing purposes=
only*). Use the firewall module in YaST.
3.2) Set the network mode of the virtual box to 'Bridged' (normally VBox us= es
NAT as network mode, so the server receives a local address and is not visi= ble
from the outside. In bridged mode, it gets an address from the DHCP-server = in
the network)
> >>>>>>> I have two
> >>>>>>> computers to which I want to connect as c= lient and server for
> >>>>>>> testing purpose (before implementing in r= eal environment).>
Please try the above and report back!
Best,
Axel
------------------------------
Message: 2
Date: Fri, 15 May 2020 17:49:32 +0200
From: Axel Braun <axel.braun-at-gmx.de>
To: "health-at-gnu.org" <health-at-gnu.org>
Subject: Re: [Health] Error Message: "There is no "account catego= ry"
defined on the product"
Message-ID: <3113602.GqBkqhp7OW-at-x1e>
Content-Type: text/plain; charset=3D"us-ascii"
Hello Odile
Am Freitag, 15. Mai 2020, 16:33:44 CEST schrieb Odile C. Kamno:
> when i try to generate an invoice from a service , i get the error mes= sage:
> "There is no "account category" defined on the product&= quot;Amoxiciline..". When
> i go to this product i can see that the account category is maintained= .
>
> See attached screenshots.
Where exactly do you see the error?
Just tried the same (create an invoice with 1 line item Amoxy 500 capsules)= ,
validate, and then post it:
ERROR:tryton.common.common:Traceback (most recent call last):
File "/trytond/wsgi.py", line 73, in dispatch_request
return endpoint(request, **request.view_args)
File "/trytond/protocols/dispatcher.py", line 46, in rpcr> request, database_name, *request.rpc_params)
File "/wrapt/wrappers.py", line 564, in __call__
args, kwargs)
File "/trytond/wsgi.py", line 44, in auth_required
return wrapped(*args, **kwargs)
File "/trytond/protocols/wrappers.py", line 122, in wrappe= r
return func(request, pool, *args, **kwargs)
File "/trytond/protocols/dispatcher.py", line 176, in _dis= patch
result =3D rpc.result(meth(*c_args, **c_kwargs))
File "/trytond/modules/purchase/invoice.py", line 21, in w= rapper
func(cls, invoices)
File "/trytond/modules/purchase/invoice.py", line 98, in p= ost
super(Invoice, cls).post(invoices)
File "/trytond/model/modelview.py", line 672, in wrapperr> return func(cls, records, *args, **kwargs)
File "/trytond/model/workflow.py", line 36, in wrapper
result =3D func(cls, filtered, *args, **kwargs)
File "/trytond/modules/account_invoice/invoice.py", line 1= 383, in post
invoice.print_invoice()
File "/trytond/modules/account_invoice/invoice.py", line 1= 292, in
print_invoice
InvoiceReport.execute([self.id], {})
File "/trytond/modules/account_invoice/invoice.py", line 2= 437, in execute
result =3D super(InvoiceReport, cls).execute(ids, data)<= br> File "/trytond/report/report.py", line 182, in execute
oext, content =3D cls._execute(records, data, action_rep= ort)
File "/trytond/modules/account_invoice/invoice.py", line 2= 418, in _execute
result =3D super(InvoiceReport, cls)._execute(records, d= ata, action)
File "/trytond/report/report.py", line 190, in _execute > return cls.convert(action, cls.render(action, report_con= text))
File "/trytond/report/report.py", line 288, in render
data =3D rel_report(**report_context).render()
File "/relatorio/templates/base.py", line 35, in render > self.events, method=3Dmethod, encoding=3Dencoding, out= =3Dout)
File "/relatorio/templates/opendocument.py", line 1161, in= __call__
self.xml_serializer(writer(stream)), encoding=3Dencoding= , out=3Dwriter)
File "/genshi/output.py", line 58, in encode
for chunk in iterator:
File "/genshi/output.py", line 241, in __call__
for kind, data, pos in stream:
File "/genshi/output.py", line 671, in __call__
for kind, data, pos in stream:
File "/genshi/output.py", line 776, in __call__
for kind, data, pos in chain(stream, [(None, None, None)= ]):
File "/genshi/output.py", line 596, in __call__
for ev in stream:
File "/relatorio/templates/opendocument.py", line 1053, in= __call__
for kind, data, pos in stream:
File "/genshi/core.py", line 292, in _ensure
for event in stream:
File "/genshi/filters/i18n.py", line 691, in __call__
for kind, data, pos in stream:
File "/genshi/template/base.py", line 638, in _include
for event in stream:
File "/genshi/template/markup.py", line 327, in _match
for event in stream:
File "/genshi/template/base.py", line 598, in _flatten
result =3D _eval_expr(data, ctxt, vars)
File "/genshi/template/base.py", line 289, in _eval_exprr> retval =3D expr.evaluate(ctxt)
File "/genshi/template/eval.py", line 178, in evaluate
return eval(self.code, _globals, {'__data__': data})
File "<string>", line 375, in <Expression
'__relatorio_escape_invalid_chars(format_date(invoice.invoice_date or today= ,
invoice.party.lang))'>
File "/trytond/report/report.py", line 338, in format_date=
lang =3D Lang.get()
File "/trytond/ir/lang.py", line 313, in get
('code', '=3D', code),
ValueError: not enough values to unpack (expected 1, got 0)
Fault: not enough values to unpack (expected 1, got 0)
(This window should really be scalable!)
Best,
Axel
------------------------------
Subject: Digest Footer
_______________________________________________
Health mailing list
Health-at-gnu.org
https://lists.gnu= .org/mailman/listinfo/health
------------------------------
End of Health Digest, Vol 106, Issue 10
***************************************
--_000_AM7P191MB08978FBCCC25A7A92FBA7979EABD0AM7P191MB0897EURP_--
--===============1414912413== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
--===============1414912413==--
|
|