[tryton-debian-vcs] tryton-modules-purchase branch upstream-3.6 updated. upstream/3.6.0-1-g11cf44e

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Dec 23 16:53:47 UTC 2015


The following commit has been merged in the upstream-3.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-purchase.git;a=commitdiff;h=upstream/3.6.0-1-g11cf44e

commit 11cf44eefcf5b019df6af84685e0b992f9cf4f22
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Dec 23 15:23:11 2015 +0100

    Adding upstream version 3.6.1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index eac7ed7..a402e24 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.6.1 - 2015-12-22
+* Bug fixes (see mercurial logs for details)
+
 Version 3.6.0 - 2015-04-20
 * Bug fixes (see mercurial logs for details)
 * Add support for PyPy
diff --git a/PKG-INFO b/PKG-INFO
index 47c8c1d..d526235 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_purchase
-Version: 3.6.0
+Version: 3.6.1
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/purchase.py b/purchase.py
index 3b2a76e..86a6134 100644
--- a/purchase.py
+++ b/purchase.py
@@ -711,7 +711,9 @@ class Purchase(Workflow, ModelSQL, ModelView, TaxableMixin):
             return
 
         invoice = self._get_invoice_purchase(invoice_type)
-        invoice.lines = list(chain.from_iterable(invoice_lines.itervalues()))
+        invoice.lines = list(chain.from_iterable(
+                invoice_lines[l.id] for l in self.lines
+                if l.id in invoice_lines))
         invoice.save()
 
         Invoice.update_taxes([invoice])
diff --git a/tryton.cfg b/tryton.cfg
index 33b8d6b..db32489 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.6.0
+version=3.6.1
 depends:
     account
     account_invoice
diff --git a/trytond_purchase.egg-info/PKG-INFO b/trytond_purchase.egg-info/PKG-INFO
index d47c147..5ba831a 100644
--- a/trytond_purchase.egg-info/PKG-INFO
+++ b/trytond_purchase.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-purchase
-Version: 3.6.0
+Version: 3.6.1
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-purchase



More information about the tryton-debian-vcs mailing list