[tryton-debian-vcs] tryton-modules-health branch upstream updated. upstream/3.0.3-1-g965499b

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Mon Dec 12 15:24:31 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.git;a=commitdiff;h=upstream/3.0.3-1-g965499b

commit 965499b5266c16d0c310acb6b91810eb3d13971a
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Dec 12 15:35:39 2016 +0100

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

diff --git a/PKG-INFO b/PKG-INFO
index 82b6232..f953939 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_health
-Version: 3.0.3
+Version: 3.0.5
 Summary: GNU Health core module
 Home-page: http://health.gnu.org
 Author: GNU Solidario
diff --git a/health.py b/health.py
index 3872ba8..cd1eaf7 100644
--- a/health.py
+++ b/health.py
@@ -2149,6 +2149,12 @@ class Pathology(ModelSQL, ModelView):
     gene = fields.Char('Gene', help='Name of the gene(s) affected')
     info = fields.Text('Extra Info')
 
+    active = fields.Boolean('Active', select=True)
+
+    @staticmethod
+    def default_active():
+        return True
+
     @classmethod
     def __setup__(cls):
         super(Pathology, cls).__setup__()
diff --git a/report/prescription_orders.odt b/report/prescription_orders.odt
index 3e62ab4..b1dc495 100644
Binary files a/report/prescription_orders.odt and b/report/prescription_orders.odt differ
diff --git a/tryton.cfg b/tryton.cfg
index 0837460..c1f0db2 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.0.3
+version=3.0.5
 depends:
     company
     currency
diff --git a/trytond_health.egg-info/PKG-INFO b/trytond_health.egg-info/PKG-INFO
index 09dc98b..88c3123 100644
--- a/trytond_health.egg-info/PKG-INFO
+++ b/trytond_health.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-health
-Version: 3.0.3
+Version: 3.0.5
 Summary: GNU Health core module
 Home-page: http://health.gnu.org
 Author: GNU Solidario
diff --git a/view/gnuhealth_pathology.xml b/view/gnuhealth_pathology.xml
index 592facc..edec129 100644
--- a/view/gnuhealth_pathology.xml
+++ b/view/gnuhealth_pathology.xml
@@ -2,13 +2,15 @@
 <form string="Pathology Info">
     <notebook>
         <page string="Main" id="disease_main">
-            <group colspan="4" col="6" id="pathology_header">
+            <group colspan="4" col="8" id="pathology_header">
                 <label name="name"/>
                 <field name="name"/>
                 <label name="code"/>
                 <field name="code"/>
                 <label name="category"/>
                 <field name="category"/>
+                <label name="active"/>
+                <field name="active"/>
             </group>
             <newline/>
             <field name="groups"/>
-- 
tryton-modules-health



More information about the tryton-debian-vcs mailing list