[tryton-debian-vcs] tryton-modules-sale branch upstream-3.8 updated. upstream/3.8.5-1-gcb91232
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Dec 13 10:40:35 UTC 2017
The following commit has been merged in the upstream-3.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-sale.git;a=commitdiff;h=upstream/3.8.5-1-gcb91232
commit cb9123294ff208715b8db170f46d33390dff8bd9
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Dec 12 18:56:21 2017 +0100
Adding upstream version 3.8.6.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index 5165f0f..ee1a4b1 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.8.6 - 2017-12-04
+* Bug fixes (see mercurial logs for details)
+
Version 3.8.5 - 2017-11-07
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 23f7c34..9338a4c 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_sale
-Version: 3.8.5
+Version: 3.8.6
Summary: Tryton module for sale
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/sale.py b/sale.py
index 4067317..da21d11 100644
--- a/sale.py
+++ b/sale.py
@@ -584,7 +584,12 @@ class Sale(Workflow, ModelSQL, ModelView, TaxableMixin):
return [('lines.moves.shipment' + nested,)
+ tuple(clause[1:3]) + (model_name,) + tuple(clause[3:])]
else:
- return [('lines.moves.shipment',) + tuple(clause[1:3])]
+ if isinstance(clause[2], basestring):
+ target = 'rec_name'
+ else:
+ target = 'id'
+ return [('lines.moves.shipment.' + target,)
+ + tuple(clause[1:3]) + (model_name,)]
return classmethod(method)
search_shipments = search_shipments_returns('stock.shipment.out')
diff --git a/tryton.cfg b/tryton.cfg
index 72ac8a4..21956d6 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.8.5
+version=3.8.6
depends:
account
account_invoice
diff --git a/trytond_sale.egg-info/PKG-INFO b/trytond_sale.egg-info/PKG-INFO
index 88c7f0c..e3cc5d4 100644
--- a/trytond_sale.egg-info/PKG-INFO
+++ b/trytond_sale.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-sale
-Version: 3.8.5
+Version: 3.8.6
Summary: Tryton module for sale
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-sale
More information about the tryton-debian-vcs
mailing list