[tryton-debian-vcs] tryton-client branch upstream-2.8 updated. upstream/2.8.15-1-gd485524
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Fri Nov 13 19:31:16 UTC 2015
The following commit has been merged in the upstream-2.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-client.git;a=commitdiff;h=upstream/2.8.15-1-gd485524
commit d4855240de1dc101c75a93c9e031907b8eabca9a
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Fri Nov 13 18:55:31 2015 +0100
Adding upstream version 2.8.16.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
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