bugGNU 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: 

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

Luis Falcon <meanmicio>
Group administrator
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>
Group administrator
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.

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


Luis Falcon <meanmicio>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by cedk (Posted a comment)
  • -email is unavailable- added by meanmicio (Submitted the item)
  •  

    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 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2022-06-08 meanmicio StatusConfirmed Ready For Test
        ReleaseNone 4.0.0

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code