[tryton-debian-vcs] tryton-server branch upstream-3.2 updated. upstream/3.2.15-1-g1f7828b
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Tue Jul 12 13:01:20 UTC 2016
The following commit has been merged in the upstream-3.2 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-server.git;a=commitdiff;h=upstream/3.2.15-1-g1f7828b
commit 1f7828b2acd3412ce5854b7fa56dd59241a3f3e2
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Jul 11 19:13:01 2016 +0200
Adding upstream version 3.2.16.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index 2fa69be..ffdd15a 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.2.16 - 2016-07-04
+* Bug fixes (see mercurial logs for details)
+
Version 3.2.15 - 2016-04-06
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 42c115b..f63acd6 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond
-Version: 3.2.15
+Version: 3.2.16
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 04203c5..cf848ed 100644
--- a/doc/topics/views/index.rst
+++ b/doc/topics/views/index.rst
@@ -212,8 +212,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``)
@@ -498,8 +496,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 42c115b..f63acd6 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.2.15
+Version: 3.2.16
Summary: Tryton server
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond/ir/sequence.py b/trytond/ir/sequence.py
index d1b3c73..2ab9a05 100644
--- a/trytond/ir/sequence.py
+++ b/trytond/ir/sequence.py
@@ -157,6 +157,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 7f1b2a4..a2f75ef 100644
--- a/trytond/model/modelview.py
+++ b/trytond/model/modelview.py
@@ -312,8 +312,11 @@ class ModelView(Model):
% (field, field))):
if 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
elif type == 'tree':
parent = element.getparent()
parent.remove(element)
diff --git a/trytond/version.py b/trytond/version.py
index 3227c3b..6b051f9 100644
--- a/trytond/version.py
+++ b/trytond/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 = "trytond"
-VERSION = "3.2.15"
+VERSION = "3.2.16"
LICENSE = "GPL-3"
WEBSITE = "http://www.tryton.org/"
--
tryton-server
More information about the tryton-debian-vcs
mailing list