What steps will reproduce the problem?
1. Patient registration new entry
2. I think Age and Date of Birth either entry should accept.
3. While save giving 500 internal error
What is the expected output? What do you see instead?
Also the age should accept fraction figure like 26.5, 10.2 (10years 2 months)
What version of the product are you using? On what operating system?
revision 228
Please provide any additional information below.
File "/home/turbocare/controllers_registration.py", line 438, in
RegistrationPage1Reload
Age = int(((datetime.datetime.now().date() -
patient.DateBirth).days+0.5)/365.25)
AttributeError: 'NoneType' object has no attribute 'DateBirth'
Original issue reported on code.google.com by tushar.c...@gmail.com on 30 Mar 2007 at 10:50
Original issue reported on code.google.com by
tushar.c...@gmail.com
on 30 Mar 2007 at 10:50