GNU Health - Bugs: bug #62596, Traceback if there is no Account...
You are not allowed to post comments on this tracker with your current authentication level.
bug #62596: Traceback if there is no Account Receivable defined neither on party or default acct config
Submitter: | Luis Falcon <meanmicio> | ||
Submitted: | Wed 08 Jun 2022 11:48:51 AM UTC | ||
Category: | Programming / Tracebacks | Severity: | 3 - Normal |
Item Group: | None | Status: | Fixed |
Privacy: | Public | Assigned to: | meanmicio |
Open/Closed: | Closed | Release: | 4.0.0 |
Module: | health services / insurance | Component: | None |
Thu 16 Jun 2022 12:03:51 PM UTC, comment #3: |
Luis Falcon <meanmicio> |
Thu 16 Jun 2022 11:02:38 AM UTC, comment #2: It is better to use Party.account_receivable_used which will return the right account or raise an error message. |
Cédric Krier <cedk> |
Wed 08 Jun 2022 11:54:39 AM UTC, comment #1: |
Luis Falcon <meanmicio> |
Wed 08 Jun 2022 11:48:51 AM UTC, original submission:
Currently, if no account receivable is set in neither the party or the default account configuration, a traceback is generated at the moment of generating the invoice from the patient health services.
|
Luis Falcon <meanmicio> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2022-06-14 | meanmicio | Status | Ready For Test | Fixed | |
Open/Closed | Open | Closed | |||
2022-06-08 | meanmicio | Status | Confirmed | Ready For Test | |
Release | None | 4.0.0 |
Powered by Savane 3.13-758e.
Corresponding source code
Thank you, Cedric!
Good to know, so we don't need extra methods on GH. We'll create a task to use the standard Tryton method on upcoming 4.2
Bests
Luis