[tryton-debian-vcs] tryton-modules-sale branch debian-jessie-3.2 updated. debian/3.2.6-1-2-g43bca7c

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


The following commit has been merged in the debian-jessie-3.2 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-sale.git;a=commitdiff;h=debian/3.2.6-1-2-g43bca7c

commit 43bca7cf645c9f93767130ab7d91b6e347ddd3c3
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Jul 11 19:42:30 2016 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 6a9607e..0170a73 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-sale (3.2.7-1) unstable; urgency=medium
+
+  * Merging upstream version 3.2.7.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Mon, 11 Jul 2016 19:42:30 +0200
+
 tryton-modules-sale (3.2.6-1) unstable; urgency=medium
 
   * Updating signing-key.asc with the actual upstream maintainer keys.
commit e57a1bb90f8266fd1e2f83a53ac52f83579afb50
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Jul 11 19:42:30 2016 +0200

    Merging upstream version 3.2.7.

diff --git a/CHANGELOG b/CHANGELOG
index 50a50cf..781cdb7 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.2.7 - 2016-07-05
+* Bug fixes (see mercurial logs for details)
+
 Version 3.2.6 - 2016-04-06
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 62d7dd2..7b12fcd 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_sale
-Version: 3.2.6
+Version: 3.2.7
 Summary: Tryton module for sale
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/sale.py b/sale.py
index 63d0f2a..4e5e860 100644
--- a/sale.py
+++ b/sale.py
@@ -300,8 +300,8 @@ class Sale(Workflow, ModelSQL, ModelView):
                 ).join(sale_line_invoice_line, 'LEFT',
                     condition=sale_line_invoice_line.sale_line == sale_line.id
                     ).join(move, 'LEFT',
-                        condition=(move.origin == Concat(SaleLine.__name__,
-                                sale_line.id))
+                        condition=(move.origin == Concat(
+                                SaleLine.__name__ + ',', sale_line.id))
                         ).select(sql_table.id,
                             where=(sql_table.state == 'confirmed')
                             & ((sale_line_invoice_line.id != None)
@@ -583,7 +583,11 @@ class Sale(Workflow, ModelSQL, ModelView):
         Search on shipments or returns
         '''
         def method(self, name, clause):
-            return [('lines.moves.shipment.id',) + tuple(clause[1:])
+            if isinstance(clause[2], basestring):
+                target = 'rec_name'
+            else:
+                target = 'id'
+            return [('lines.moves.shipment.' + target,) + tuple(clause[1:])
                 + (model_name,)]
         return classmethod(method)
 
diff --git a/tryton.cfg b/tryton.cfg
index d75ed8d..39afef6 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.2.6
+version=3.2.7
 depends:
     account
     account_invoice
diff --git a/trytond_sale.egg-info/PKG-INFO b/trytond_sale.egg-info/PKG-INFO
index c64d645..c9180b1 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.2.6
+Version: 3.2.7
 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