bugGNU Health - Bugs: bug #39763, Traceback when computing the...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #39763: Traceback when computing the patient age at death

Submitted by:  Luis Falcon <meanmicio>
Submitted on:  Sun 11 Aug 2013 06:41:31 PM UTC  
 
Category: Programming / TracebacksSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Luis Falcon <meanmicio>
Open/Closed: ClosedRelease: 2.0.0
Module: health

Sun 11 Aug 2013 06:46:09 PM UTC, comment #1:

Fixed at changeset 932:c67cf3213007

Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.
Sun 11 Aug 2013 06:41:31 PM UTC, original submission:

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

Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by meanmicio (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 11 Aug 2013 06:46:09 PM UTCmeanmicioCategoryNone=>Programming / Tracebacks
      StatusNone=>Fixed
      Open/ClosedOpen=>Closed
      ReleaseNone=>2.0.0

    Back to the top


    Powered by Savane 3.1-cleanup1