[tryton-debian-vcs] tryton-modules-stock-supply-forecast branch upstream updated. upstream/4.2.0-1-g7a99d38
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Thu Jan 5 10:57:59 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-forecast.git;a=commitdiff;h=upstream/4.2.0-1-g7a99d38
commit 7a99d380e931b81064e26eae5bc40e926545d077
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Jan 4 12:41:56 2017 +0100
Adding upstream version 4.2.1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index 3fae30b..11a7034 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.2.1 - 2017-01-03
+* Bug fixes (see mercurial logs for details)
+
Version 4.2.0 - 2016-11-28
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 3fcb638..c5cc10e 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_stock_supply_forecast
-Version: 4.2.0
+Version: 4.2.1
Summary: Tryton module to add forecast to supply computation
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/purchase_request.py b/purchase_request.py
index 479894b..245b45e 100644
--- a/purchase_request.py
+++ b/purchase_request.py
@@ -10,7 +10,7 @@ class PurchaseRequest:
__name__ = 'purchase.request'
@classmethod
- def generate_requests(cls):
+ def generate_requests(cls, *args, **kwargs):
pool = Pool()
Forecast = pool.get('stock.forecast')
Date = pool.get('ir.date')
@@ -22,5 +22,5 @@ class PurchaseRequest:
('state', '=', 'done'),
])
Forecast.create_moves(forecasts)
- super(PurchaseRequest, cls).generate_requests()
+ super(PurchaseRequest, cls).generate_requests(*args, **kwargs)
Forecast.delete_moves(forecasts)
diff --git a/tryton.cfg b/tryton.cfg
index 8265cbb..4f72e53 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.2.0
+version=4.2.1
depends:
ir
stock_supply
diff --git a/trytond_stock_supply_forecast.egg-info/PKG-INFO b/trytond_stock_supply_forecast.egg-info/PKG-INFO
index 3afed62..eab234e 100644
--- a/trytond_stock_supply_forecast.egg-info/PKG-INFO
+++ b/trytond_stock_supply_forecast.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-stock-supply-forecast
-Version: 4.2.0
+Version: 4.2.1
Summary: Tryton module to add forecast to supply computation
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-stock-supply-forecast
More information about the tryton-debian-vcs
mailing list