health-dev
[Top][All Lists]
Advanced

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

[Health-dev] [bug #39763] Traceback when computing the patient age at de


From: Luis Falcon
Subject: [Health-dev] [bug #39763] Traceback when computing the patient age at death
Date: Sun, 11 Aug 2013 18:41:32 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20130808 Iceweasel/23.0

URL:
  <http://savannah.gnu.org/bugs/?39763>

                 Summary: Traceback when computing the patient age at death
                 Project: GNU Health
            Submitted by: meanmicio
            Submitted on: Sun 11 Aug 2013 06:41:31 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: meanmicio
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Module: health

    _______________________________________________________

Details:

The error happens when the patient has died, and GNU Health computes the age
of the patient at the moment of death

File "/trytond/modules/health/health.py", line 946, in compute_age_from_dates
    dod = datetime.strptime(patient_dod, '%Y-%m-%d %H:%M:%S')
TypeError: must be string, not datetime.datetime

must be string, not datetime.datetime





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39763>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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