[tryton-debian-vcs] tryton-modules-stock-supply branch upstream updated. upstream/4.4.0-1-g2a880b7
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Thu Aug 17 12:43:47 UTC 2017
The following commit has been merged in the upstream branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock-supply.git;a=commitdiff;h=upstream/4.4.0-1-g2a880b7
commit 2a880b7f9d6d797a89c2e6ff3c4d6267cbefde54
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Thu Aug 17 12:38:01 2017 +0200
Adding upstream version 4.4.1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index a06c9c5..058cab4 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.4.1 - 2017-08-08
+* Bug fixes (see mercurial logs for details)
+
Version 4.4.0 - 2017-05-01
* Bug fixes (see mercurial logs for details)
* Add warning for late customer moves
diff --git a/PKG-INFO b/PKG-INFO
index 7315058..8efc6bf 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_stock_supply
-Version: 4.4.0
+Version: 4.4.1
Summary: Tryton module for stock supply
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/purchase_request.py b/purchase_request.py
index 685f855..8d15bfc 100644
--- a/purchase_request.py
+++ b/purchase_request.py
@@ -328,7 +328,7 @@ class PurchaseRequest:
min_quantity = min_quantities[product_id]
res_qty = res_qties.get(product_id)
res_date = res_dates.get(product_id)
- if current_qty < min_quantity:
+ if min_quantity is not None and current_qty < min_quantity:
if not res_date:
res_dates[product_id] = current_date
if (not res_qty) or (current_qty < res_qty):
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
diff --git a/tryton.cfg b/tryton.cfg
index d7d577b..6647016 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.4.0
+version=4.4.1
depends:
account
ir
diff --git a/trytond_stock_supply.egg-info/PKG-INFO b/trytond_stock_supply.egg-info/PKG-INFO
index f71d94e..e5754ce 100644
--- a/trytond_stock_supply.egg-info/PKG-INFO
+++ b/trytond_stock_supply.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-stock-supply
-Version: 4.4.0
+Version: 4.4.1
Summary: Tryton module for stock supply
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-stock-supply
More information about the tryton-debian-vcs
mailing list