[tryton-debian-vcs] tryton-modules-stock-supply-production branch debian updated. debian/4.4.0-1-3-ga873877
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Sun Jul 2 17:57:44 UTC 2017
The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock-supply-production.git;a=commitdiff;h=debian/4.4.0-1-3-ga873877
commit a873877ca137cd41a30c7e0d96977a002e092b47
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sun Jul 2 17:16:10 2017 +0200
Releasing debian version 4.4.1-1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/debian/changelog b/debian/changelog
index db26f9a..883f5c5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tryton-modules-stock-supply-production (4.4.1-1) unstable; urgency=medium
+
+ * Change the maintainer address to tryton-debian at lists.alioth.debian.org
+ (Closes: #865109).
+ * Merging upstream version 4.4.1.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Sun, 02 Jul 2017 17:16:10 +0200
+
tryton-modules-stock-supply-production (4.4.0-1) unstable; urgency=medium
* Add the actual upstream maintainer key to signing-key.asc.
commit 0c5d5c9016d8e48f48e36eb0e70bf230b097a6af
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sun Jul 2 17:16:09 2017 +0200
Merging upstream version 4.4.1.
diff --git a/CHANGELOG b/CHANGELOG
index 7b38998..da2b538 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.4.1 - 2017-07-01
+* Bug fixes (see mercurial logs for details)
+
Version 4.4.0 - 2017-05-01
* Bug fixes (see mercurial logs for details)
* Merge supply into one wizard
diff --git a/PKG-INFO b/PKG-INFO
index 88c3570..cd6dace 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_stock_supply_production
-Version: 4.4.0
+Version: 4.4.1
Summary: Tryton module for stock supply of production
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/product.py b/product.py
index ef10cec..ee82a9a 100644
--- a/product.py
+++ b/product.py
@@ -1,5 +1,6 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
+from datetime import timedelta
from trytond.pool import Pool, PoolMeta
@@ -14,4 +15,4 @@ class Product:
'Return the supply period for the product'
pool = Pool()
Configuration = pool.get('production.configuration')
- return Configuration(1).supply_period or 0
+ return Configuration(1).supply_period or timedelta(0)
diff --git a/production.py b/production.py
index c3e9def..9dab619 100644
--- a/production.py
+++ b/production.py
@@ -193,7 +193,7 @@ class Production:
# Remove product with smaller period
while (products_period
- and products_period[0][0] <= (current_date - date).days):
+ and products_period[0][0] <= (current_date - date)):
_, product = products_period.pop(0)
product_ids.remove(product.id)
current_date += datetime.timedelta(1)
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 f3bf616..c5949c3 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.4.0
+version=4.4.1
depends:
ir
product
diff --git a/trytond_stock_supply_production.egg-info/PKG-INFO b/trytond_stock_supply_production.egg-info/PKG-INFO
index 51ad1b3..fb11661 100644
--- a/trytond_stock_supply_production.egg-info/PKG-INFO
+++ b/trytond_stock_supply_production.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-stock-supply-production
-Version: 4.4.0
+Version: 4.4.1
Summary: Tryton module for stock supply of production
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-stock-supply-production
More information about the tryton-debian-vcs
mailing list