[tryton-debian-vcs] tryton-client branch debian-jessie-2.8 updated. debian/2.8.15-1-2-g95b4427

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Fri Nov 13 19:31:13 UTC 2015


The following commit has been merged in the debian-jessie-2.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-client.git;a=commitdiff;h=debian/2.8.15-1-2-g95b4427

commit 95b4427a3dd557bdc72b5b737b5bfc061e090855
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Fri Nov 13 18:55:40 2015 +0100

    Releasing debian version 2.8.16-1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/debian/changelog b/debian/changelog
index 625fa11..47b9b4a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-client (2.8.16-1) unstable; urgency=medium
+
+  * Merging upstream version 2.8.16.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Fri, 13 Nov 2015 18:55:40 +0100
+
 tryton-client (2.8.15-1) unstable; urgency=medium
 
   * Merging upstream version 2.8.15.
commit eee93c345ab255416790cc94b8c6ee87f08fe3e6
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Fri Nov 13 18:55:40 2015 +0100

    Merging upstream version 2.8.16.

diff --git a/CHANGELOG b/CHANGELOG
index 51b7af3..ac47ae0 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.8.16 - 2015-11-09
+* Bug fixes (see mercurial logs for details)
+
 Version 2.8.15 - 2015-09-08
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index a7b602a..d83a1ef 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: tryton
-Version: 2.8.15
+Version: 2.8.16
 Summary: Tryton client
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/tryton.egg-info/PKG-INFO b/tryton.egg-info/PKG-INFO
index a7b602a..d83a1ef 100644
--- a/tryton.egg-info/PKG-INFO
+++ b/tryton.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: tryton
-Version: 2.8.15
+Version: 2.8.16
 Summary: Tryton client
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/tryton/gui/window/view_board/view_board.py b/tryton/gui/window/view_board/view_board.py
index 688e0cf..f9ee7b9 100644
--- a/tryton/gui/window/view_board/view_board.py
+++ b/tryton/gui/window/view_board/view_board.py
@@ -31,8 +31,8 @@ class ViewBoard(object):
         return self.widget
 
     def reload(self):
-        for widget in self.widgets:
-            widget.display()
+        for action in self.actions:
+            action.display()
 
     def _active_changed(self, event_action, *args):
         for action in self.actions:
diff --git a/tryton/gui/window/view_form/view/graph_gtk/graph.py b/tryton/gui/window/view_form/view/graph_gtk/graph.py
index 8038ff5..f26ce11 100644
--- a/tryton/gui/window/view_form/view/graph_gtk/graph.py
+++ b/tryton/gui/window/view_form/view/graph_gtk/graph.py
@@ -349,8 +349,18 @@ class Graph(gtk.DrawingArea):
                 minx = x
             if not maxx:
                 maxx = x
-            minx = min(minx, x)
-            maxx = max(maxx, x)
+            if minx is None and maxx is None:
+                if isinstance(x, datetime.datetime):
+                    minx, maxx = datetime.datetime.min, datetime.datetime.max
+                elif isinstance(x, datetime.date):
+                    minx, maxx = datetime.date.min, datetime.date.max
+                elif isinstance(x, datetime.timedelta):
+                    minx, maxx = datetime.timedelta.min, datetime.timedelta.max
+            try:
+                minx = min(minx, x)
+                maxx = max(maxx, x)
+            except TypeError:
+                continue
             self.labels[x] = model[self.xfield['name']].get_client(model)
             self.ids.setdefault(x, [])
             self.ids[x].append(model.id)
diff --git a/tryton/version.py b/tryton/version.py
index 2f76402..3a56089 100644
--- a/tryton/version.py
+++ b/tryton/version.py
@@ -1,6 +1,6 @@
 #This file is part of Tryton.  The COPYRIGHT file at the top level of
 #this repository contains the full copyright notices and license terms.
 PACKAGE = "tryton"
-VERSION = "2.8.15"
+VERSION = "2.8.16"
 LICENSE = "GPL-3"
 WEBSITE = "http://www.tryton.org/"
-- 
tryton-client



More information about the tryton-debian-vcs mailing list