URL:
<https://savannah.gnu.org/bugs/?62596>
Summary: Traceback if there is no Account Receivable defined
neither on party or default acct config
Project: GNU Health
Submitter: meanmicio
Submitted: Wed 08 Jun 2022 11:48:51 AM UTC
Category: Programming / Tracebacks
Severity: 3 - Normal
Item Group: None
Status: Confirmed
Privacy: Public
Assigned to: meanmicio
Open/Closed: Open
Release: None
Discussion Lock: Any
Module: health services / insurance
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 08 Jun 2022 11:48:51 AM UTC By: Luis Falcon <meanmicio>
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.
It would be nice to show an User Error message instead of a traceback.
The steps would be:
""" Look for the AR account in the following order:
* Party
* Default AR in accounting config
* Raise an error if there is no AR account
"""
The discussion about this issue with Francisco can be found here:
https://lists.gnu.org/archive/html/health-dev/2022-05/msg00018.html
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62596>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/