[tryton-debian-vcs] tryton-modules-purchase branch debian-stretch-4.4 updated. debian/4.4.3-1-2-g1e180c5

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Dec 13 10:39:46 UTC 2017


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

commit 1e180c52cd5f4aa9cf49cbbb94cc37f37a1829b5
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Dec 12 19:39:09 2017 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 88247b9..0724412 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-purchase (4.4.4-1) unstable; urgency=medium
+
+  * Merging upstream version 4.4.4.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Tue, 12 Dec 2017 19:39:09 +0100
+
 tryton-modules-purchase (4.4.3-1) unstable; urgency=medium
 
   * Bump the Standards-Version to 4.1.1, no changes needed.
commit cdcb994c9c2725fa4ef21f609183073d52bf034a
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Dec 12 19:39:08 2017 +0100

    Merging upstream version 4.4.4.

diff --git a/CHANGELOG b/CHANGELOG
index c616eeb..ca1a93b 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.4.4 - 2017-12-04
+* Bug fixes (see mercurial logs for details)
+
 Version 4.4.3 - 2017-11-07
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 7e78353..5b85c1f 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_purchase
-Version: 4.4.3
+Version: 4.4.4
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/product.py b/product.py
index fc01585..b8b0d25 100644
--- a/product.py
+++ b/product.py
@@ -104,7 +104,7 @@ class Product:
 
     @classmethod
     def get_purchase_price_uom(cls, products, name):
-        quantity = Transaction().context.get('quantity', 0)
+        quantity = Transaction().context.get('quantity') or 0
         return cls.get_purchase_price(products, quantity=quantity)
 
     @classmethod
diff --git a/tryton.cfg b/tryton.cfg
index d1356d2..5e097e8 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.4.3
+version=4.4.4
 depends:
     account
     account_invoice
diff --git a/trytond_purchase.egg-info/PKG-INFO b/trytond_purchase.egg-info/PKG-INFO
index 30499df..ca483ec 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: 4.4.3
+Version: 4.4.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