[tryton-debian-vcs] tryton-modules-purchase branch debian-jessie-3.0 updated. debian/3.0.3-1-2-g1b3e606

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


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

commit 1b3e6069521f970f12756e2997a3f2bfb90af202
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Dec 23 15:19:53 2015 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 4aebcf2..597ab93 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-purchase (3.0.4-1) unstable; urgency=medium
+
+  * Merging upstream version 3.0.4.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Wed, 23 Dec 2015 15:19:52 +0100
+
 tryton-modules-purchase (3.0.3-1) unstable; urgency=medium
 
   * Adding actual upstream signing key.
commit d2614ec1ef7e838b9a800ab1eb7213ec9d522bff
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Dec 23 15:19:52 2015 +0100

    Merging upstream version 3.0.4.

diff --git a/CHANGELOG b/CHANGELOG
index a313e5e..c03094e 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.0.4 - 2015-12-22
+* Bug fixes (see mercurial logs for details)
+
 Version 3.0.3 - 2015-02-21
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index b800b0b..91a5427 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_purchase
-Version: 3.0.3
+Version: 3.0.4
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/purchase.py b/purchase.py
index d5ff1e8..c8dbbe6 100644
--- a/purchase.py
+++ b/purchase.py
@@ -661,7 +661,9 @@ class Purchase(Workflow, ModelSQL, ModelView):
             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()
 
         with Transaction().set_user(0, set_context=True):
diff --git a/tryton.cfg b/tryton.cfg
index 8f86ce2..18f717c 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.0.3
+version=3.0.4
 depends:
     account
     account_invoice
diff --git a/trytond_purchase.egg-info/PKG-INFO b/trytond_purchase.egg-info/PKG-INFO
index 7dd3331..3bd938b 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.0.3
+Version: 3.0.4
 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