[tryton-debian-vcs] tryton-modules-purchase branch upstream-4.4 updated. upstream/4.4.3-1-gbded2e0

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


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

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

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

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