[tryton-debian-vcs] tryton-client branch upstream-2.6 updated. upstream/2.6.7-1-gb39b9f4

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Dec 11 18:47:57 UTC 2013


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

commit b39b9f40443a7c3a622559059d1703986da5488d
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Dec 11 19:22:06 2013 +0100

    Adding upstream version 2.6.8.

diff --git a/CHANGELOG b/CHANGELOG
index 9a540a2..cddd56e 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.6.8 - 2013-12-04
+* Bug fixes (see mercurial logs for details)
+
 Version 2.6.7 - 2013-11-03
 * Bug fixes (see mercurial logs for details)
 * Sanitize report file extension
diff --git a/PKG-INFO b/PKG-INFO
index 8e6332c..479fd07 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: tryton
-Version: 2.6.7
+Version: 2.6.8
 Summary: Tryton client
 Home-page: http://www.tryton.org/
 Author: B2CK
diff --git a/tryton.egg-info/PKG-INFO b/tryton.egg-info/PKG-INFO
index 8e6332c..479fd07 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.6.7
+Version: 2.6.8
 Summary: Tryton client
 Home-page: http://www.tryton.org/
 Author: B2CK
diff --git a/tryton/common/button.py b/tryton/common/button.py
index 2adae35..5a695e8 100644
--- a/tryton/common/button.py
+++ b/tryton/common/button.py
@@ -17,6 +17,11 @@ class Button(gtk.Button):
         self._set_icon(attrs.get('icon'))
 
     def _set_icon(self, stock):
+        image = self.get_image()
+        if not image and not stock:
+            return
+        elif image and image.get_stock()[0] == stock:
+            return
         if not stock:
             self.set_image(gtk.Image())
             return
diff --git a/tryton/common/common.py b/tryton/common/common.py
index 8f2799b..17ca817 100644
--- a/tryton/common/common.py
+++ b/tryton/common/common.py
@@ -10,6 +10,7 @@ import os
 import subprocess
 import re
 import logging
+from functools import partial
 from tryton.config import CONFIG
 from tryton.config import TRYTON_ICON, PIXMAPS_DIR
 import time
@@ -933,9 +934,10 @@ def send_bugtracker(title, msg):
             protocol = 'http'
             if ssl or hasattr(socket, 'ssl'):
                 protocol = 'https'
+            quote = partial(urllib.quote, safe="!$&'()*+,;=:")
             server = xmlrpclib.Server(
                 ('%s://%s:%s@' + CONFIG['roundup.xmlrpc'])
-                % (protocol, user, password), allow_none=True)
+                % (protocol, quote(user), quote(password)), allow_none=True)
             if hashlib:
                 msg_md5 = hashlib.md5(msg + '\n' + title).hexdigest()
             else:
diff --git a/tryton/gui/window/view_form/model/field.py b/tryton/gui/window/view_form/model/field.py
index ad2d77e..fad9d67 100644
--- a/tryton/gui/window/view_form/model/field.py
+++ b/tryton/gui/window/view_form/model/field.py
@@ -80,7 +80,7 @@ class CharField(object):
     def check_required(self, record):
         state_attrs = self.get_state_attrs(record)
         if bool(int(state_attrs.get('required') or 0)):
-            if (not self.get(record)
+            if (not self.get_eval(record)
                     and not bool(int(state_attrs.get('readonly') or 0))):
                 return False
         return True
diff --git a/tryton/gui/window/view_form/model/record.py b/tryton/gui/window/view_form/model/record.py
index 153218e..5b45f8d 100644
--- a/tryton/gui/window/view_form/model/record.py
+++ b/tryton/gui/window/view_form/model/record.py
@@ -503,7 +503,7 @@ class Record(SignalEvent):
             scope = values
             for i in arg.split('.'):
                 if i not in scope:
-                    scope = False
+                    scope = None
                     break
                 scope = scope[i]
             res[arg] = scope
diff --git a/tryton/version.py b/tryton/version.py
index 4af2595..d1f1b23 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.6.7"
+VERSION = "2.6.8"
 LICENSE = "GPL-3"
 WEBSITE = "http://www.tryton.org/"
-- 
tryton-client



More information about the tryton-debian-vcs mailing list