[tryton-debian-vcs] tryton-client branch upstream-3.6 updated. upstream/3.6.9-1-gf915958

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Mon Aug 8 09:27:32 UTC 2016


The following commit has been merged in the upstream-3.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-client.git;a=commitdiff;h=upstream/3.6.9-1-gf915958

commit f915958b0b89c7cea096a9355a33bb0e258ad7fb
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Fri Aug 5 12:01:57 2016 +0200

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

diff --git a/CHANGELOG b/CHANGELOG
index 0afae1a..8cec306 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.6.10 - 2016-08-02
+* Bug fixes (see mercurial logs for details)
+
 Version 3.6.9 - 2016-07-04
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 1311a18..cf614ec 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: tryton
-Version: 3.6.9
+Version: 3.6.10
 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 1311a18..cf614ec 100644
--- a/tryton.egg-info/PKG-INFO
+++ b/tryton.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: tryton
-Version: 3.6.9
+Version: 3.6.10
 Summary: Tryton client
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/tryton/__init__.py b/tryton/__init__.py
index 82bfc0c..c968162 100644
--- a/tryton/__init__.py
+++ b/tryton/__init__.py
@@ -1,3 +1,3 @@
 # This file is part of Tryton.  The COPYRIGHT file at the top level of
 # this repository contains the full copyright notices and license terms.
-__version__ = "3.6.9"
+__version__ = "3.6.10"
diff --git a/tryton/gui/window/view_form/model/field.py b/tryton/gui/window/view_form/model/field.py
index 636286f..078fd76 100644
--- a/tryton/gui/window/view_form/model/field.py
+++ b/tryton/gui/window/view_form/model/field.py
@@ -35,8 +35,6 @@ class Field(object):
         self.name = attrs['name']
 
     def sig_changed(self, record):
-        if self.get_state_attrs(record).get('readonly', False):
-            return
         record.on_change([self.name])
         record.on_change_with([self.name])
         record.autocomplete_with(self.name)
diff --git a/tryton/gui/window/view_form/view/list.py b/tryton/gui/window/view_form/view/list.py
index 3d2aca0..73a8d0a 100644
--- a/tryton/gui/window/view_form/view/list.py
+++ b/tryton/gui/window/view_form/view/list.py
@@ -1170,8 +1170,8 @@ class ViewTree(View):
 
     def set_cursor(self, new=False, reset_view=True):
         self.treeview.grab_focus()
-        if self.screen.current_record:
-            model = self.treeview.get_model()
+        model = self.treeview.get_model()
+        if self.screen.current_record and model:
             path = model.on_get_path(self.screen.current_record)
             if model.get_flags() & gtk.TREE_MODEL_LIST_ONLY:
                 path = (path[0],)
diff --git a/tryton/gui/window/view_form/view/list_gtk/editabletree.py b/tryton/gui/window/view_form/view/list_gtk/editabletree.py
index ece7779..0209626 100644
--- a/tryton/gui/window/view_form/view/list_gtk/editabletree.py
+++ b/tryton/gui/window/view_form/view/list_gtk/editabletree.py
@@ -115,7 +115,7 @@ class EditableTreeView(TreeView):
             if isinstance(entry, (Date, Time)):
                 entry.activate()
                 txt = entry.props.value
-            if isinstance(entry, gtk.Entry):
+            elif isinstance(entry, gtk.Entry):
                 txt = entry.get_text()
             else:
                 txt = entry.get_active_text()
-- 
tryton-client



More information about the tryton-debian-vcs mailing list