[tryton-debian-vcs] tryton-modules-health-iss branch upstream updated. upstream/3.0.1-1-g6306b60

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Aug 10 19:15:06 UTC 2016


The following commit has been merged in the upstream branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-health-iss.git;a=commitdiff;h=upstream/3.0.1-1-g6306b60

commit 6306b6001505c67ee512a9717b6418303dbd3c2f
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Aug 10 19:04:05 2016 +0200

    Adding upstream version 3.0.2.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/PKG-INFO b/PKG-INFO
index 2de873f..3ab1fae 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_health_iss
-Version: 3.0.1
+Version: 3.0.2
 Summary: GNU Health Injury Surveillance System Module
 Home-page: http://health.gnu.org/
 Author: GNU Solidario
diff --git a/health_iss.py b/health_iss.py
index ca658fd..9c9b301 100644
--- a/health_iss.py
+++ b/health_iss.py
@@ -62,12 +62,11 @@ class Iss (ModelSQL, ModelView):
         'get_patient', searcher='search_patient')
 
     patient_sex = fields.Function(
-        fields.Char('Sex'),
+        fields.Char('Gender'),
         'get_patient_sex')
 
-    patient_age = fields.Function(
-        fields.TimeDelta('Age'),
-        'get_patient_age')
+    patient_age = fields.Function(fields.Char('Age'), 'get_patient_age')
+
 
     complaint = fields.Function(
         fields.Char('Chief Complaint'),
@@ -235,7 +234,7 @@ class Iss (ModelSQL, ModelView):
         return self.name.patient.rec_name
 
     def get_patient_sex(self, name):
-        return self.name.patient.sex
+        return self.name.patient.name.gender
 
     def get_patient_age(self, name):
         return self.name.patient.name.age
diff --git a/tryton.cfg b/tryton.cfg
index ee8a607..807f06d 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.0.1
+version=3.0.2
 depends:
     health
 
diff --git a/trytond_health_iss.egg-info/PKG-INFO b/trytond_health_iss.egg-info/PKG-INFO
index c35a205..5ad9f37 100644
--- a/trytond_health_iss.egg-info/PKG-INFO
+++ b/trytond_health_iss.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-health-iss
-Version: 3.0.1
+Version: 3.0.2
 Summary: GNU Health Injury Surveillance System Module
 Home-page: http://health.gnu.org/
 Author: GNU Solidario
diff --git a/trytond_health_iss.egg-info/requires.txt b/trytond_health_iss.egg-info/requires.txt
index b3a667a..5537172 100644
--- a/trytond_health_iss.egg-info/requires.txt
+++ b/trytond_health_iss.egg-info/requires.txt
@@ -1,2 +1,2 @@
-trytond_health == 3.0.1
+trytond_health == 3.0.2
 trytond >= 3.8, < 3.9
-- 
tryton-modules-health-iss



More information about the tryton-debian-vcs mailing list