[tryton-debian-vcs] tryton-server branch debian-stretch-3.6 updated. debian/3.6.9-1-2-g8b5d014

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Jul 12 13:01:17 UTC 2016


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

commit 8b5d014a78fae280bfeb44bfe4996317d2fa0c2a
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Jul 11 19:16:56 2016 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 1edf358..577d3ae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-server (3.6.10-1) unstable; urgency=medium
+
+  * Merging upstream version 3.6.10.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Mon, 11 Jul 2016 19:16:56 +0200
+
 tryton-server (3.6.9-1) unstable; urgency=medium
 
   * Merging upstream version 3.6.9.
commit 73995bb3ef888cdfd461c3b54e46b0ade1871c81
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Jul 11 19:16:56 2016 +0200

    Merging upstream version 3.6.10.

diff --git a/CHANGELOG b/CHANGELOG
index c3deb3b..7a5c4c7 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.6.10 - 2016-07-04
+* Bug fixes (see mercurial logs for details)
+
 Version 3.6.9 - 2016-04-06
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 12a0674..8f62afc 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond
-Version: 3.6.9
+Version: 3.6.10
 Summary: Tryton server
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/doc/topics/views/index.rst b/doc/topics/views/index.rst
index 479670c..9b71470 100644
--- a/doc/topics/views/index.rst
+++ b/doc/topics/views/index.rst
@@ -223,8 +223,6 @@ Display a field of the object with the value of the current record.
 
     * ``readonly``: Boolean to set the field readonly.
 
-    * ``required``: Boolean to set the field required.
-
     * ``mode``: Only for One2Many fields: it is a comma separated list, that
       specifies the order of the view used to display the relation. (Example:
       ``tree,form``)
@@ -513,8 +511,6 @@ field
 
     * ``readonly``: Boolean to set the field readonly.
 
-    * ``required``: Boolean to set the field required.
-
     * ``widget``: The widget that must be used instead of the default one.
 
     * ``tree_invisible``: Boolean to display or not the column.
diff --git a/trytond.egg-info/PKG-INFO b/trytond.egg-info/PKG-INFO
index 12a0674..8f62afc 100644
--- a/trytond.egg-info/PKG-INFO
+++ b/trytond.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond
-Version: 3.6.9
+Version: 3.6.10
 Summary: Tryton server
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/trytond/__init__.py b/trytond/__init__.py
index 590a3aa..242b764 100644
--- a/trytond/__init__.py
+++ b/trytond/__init__.py
@@ -4,7 +4,7 @@ import os
 import time
 from email import charset
 
-__version__ = "3.6.9"
+__version__ = "3.6.10"
 
 os.environ['TZ'] = 'UTC'
 if hasattr(time, 'tzset'):
diff --git a/trytond/ir/sequence.py b/trytond/ir/sequence.py
index 33d0c18..ab2edaa 100644
--- a/trytond/ir/sequence.py
+++ b/trytond/ir/sequence.py
@@ -156,6 +156,8 @@ class Sequence(ModelSQL, ModelView):
         return Transaction().context.get('code')
 
     def get_number_next(self, name):
+        if self.type != 'incremental':
+            return
         cursor = Transaction().cursor
         sql_name = self._sql_sequence_name
         if sql_sequence and not self._strict:
diff --git a/trytond/model/modelview.py b/trytond/model/modelview.py
index cf84941..e859922 100644
--- a/trytond/model/modelview.py
+++ b/trytond/model/modelview.py
@@ -438,8 +438,11 @@ class ModelView(Model):
                     parent.remove(element)
                 elif type == 'form':
                     element.tag = 'label'
+                    colspan = element.attrib.get('colspan')
                     element.attrib.clear()
                     element.attrib['id'] = 'hidden %s-%s' % (field, i)
+                    if colspan is not None:
+                        element.attrib['colspan'] = colspan
 
         if type == 'tree':
             ViewTreeWidth = pool.get('ir.ui.view_tree_width')
-- 
tryton-server



More information about the tryton-debian-vcs mailing list