[tryton-debian-vcs] tryton-modules-purchase branch upstream updated. upstream/4.0.2-1-g7e2e49b
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Sun Sep 4 16:59:01 UTC 2016
The following commit has been merged in the upstream branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-purchase.git;a=commitdiff;h=upstream/4.0.2-1-g7e2e49b
commit 7e2e49bf4d7562c7cc03e3cf456d97eedf650bae
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat Sep 3 21:13:25 2016 +0200
Adding upstream version 4.0.3.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index b10c19f..0b7d578 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.3 - 2016-09-03
+* Bug fixes (see mercurial logs for details)
+
Version 4.0.2 - 2016-07-05
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 11ac03b..a6b520a 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_purchase
-Version: 4.0.2
+Version: 4.0.3
Summary: Tryton module for purchase
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/purchase.py b/purchase.py
index 140ba7d..a780abf 100644
--- a/purchase.py
+++ b/purchase.py
@@ -1011,7 +1011,7 @@ class PurchaseLine(ModelSQL, ModelView):
break
quantity -= Uom.compute_qty(move.uom, move.quantity, self.unit)
if done:
- if quantity > 0.0:
+ if self.unit.round(quantity) > 0.0:
done = False
return done
diff --git a/tryton.cfg b/tryton.cfg
index 7005a5c..a5447c5 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.0.2
+version=4.0.3
depends:
account
account_invoice
diff --git a/trytond_purchase.egg-info/PKG-INFO b/trytond_purchase.egg-info/PKG-INFO
index 8865a97..e3beee0 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.0.2
+Version: 4.0.3
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