[tryton-debian-vcs] tryton-modules-stock-forecast branch upstream-2.6 created. 4272f8ba1578c202ee15eacbb78cc78939f602b1
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Nov 27 17:10:35 UTC 2013
The following commit has been merged in the upstream-2.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock-forecast.git;a=commitdiff;h=4272f8ba1578c202ee15eacbb78cc78939f602b1
commit 4272f8ba1578c202ee15eacbb78cc78939f602b1
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat May 4 01:57:11 2013 +0200
Adding upstream version 2.6.1.
diff --git a/CHANGELOG b/CHANGELOG
index 120e31b..d03df42 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.6.1 - 2013-05-02
+* Bug fixes (see mercurial logs for details)
+
Version 2.6.0 - 2012-10-22
* Bug fixes (see mercurial logs for details)
diff --git a/COPYRIGHT b/COPYRIGHT
index 2057c72..d7165c7 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
-Copyright (C) 2008-2012 Cédric Krier.
+Copyright (C) 2008-2013 Cédric Krier.
Copyright (C) 2008-2012 Bertrand Chenal.
-Copyright (C) 2008-2012 B2CK SPRL.
+Copyright (C) 2008-2013 B2CK SPRL.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index f60862b..659e39b 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,11 +1,12 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
Name: trytond_stock_forecast
-Version: 2.6.0
+Version: 2.6.1
Summary: Tryton module with stock forecasts
Home-page: http://www.tryton.org/
Author: Tryton
Author-email: UNKNOWN
License: GPL-3
+Download-URL: http://downloads.tryton.org/2.6/
Description: trytond_stock_forecast
=====================
diff --git a/forecast.py b/forecast.py
index e24d9dc..f52988c 100644
--- a/forecast.py
+++ b/forecast.py
@@ -542,7 +542,7 @@ class ForecastComplete(Wizard):
Collect products for which there is an outgoing stream between
the given location and the destination.
"""
- if self.choose.products:
+ if getattr(self.choose, 'products', None):
return {'products': [x.id for x in self.choose.products]}
pbl = self._get_product_quantity()
products = []
@@ -569,7 +569,7 @@ class ForecastComplete(Wizard):
for product in Product.browse(product_ids):
prod2uom[product.id] = product.default_uom.id
- if self.choose.products:
+ if getattr(self.choose, 'products', None):
products = [x.id for x in self.choose.products]
else:
products = None
diff --git a/setup.py b/setup.py
index 67dc643..7eb32a9 100644
--- a/setup.py
+++ b/setup.py
@@ -36,6 +36,8 @@ setup(name='trytond_stock_forecast',
long_description=read('README'),
author='Tryton',
url='http://www.tryton.org/',
+ download_url=("http://downloads.tryton.org/" +
+ info.get('version', '0.0.1').rsplit('.', 1)[0] + '/'),
package_dir={'trytond.modules.stock_forecast': '.'},
packages=[
'trytond.modules.stock_forecast',
diff --git a/tryton.cfg b/tryton.cfg
index ab31c67..942063f 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=2.6.0
+version=2.6.1
depends:
company
ir
diff --git a/trytond_stock_forecast.egg-info/PKG-INFO b/trytond_stock_forecast.egg-info/PKG-INFO
index 47f48f2..6a7492a 100644
--- a/trytond_stock_forecast.egg-info/PKG-INFO
+++ b/trytond_stock_forecast.egg-info/PKG-INFO
@@ -1,11 +1,12 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
Name: trytond-stock-forecast
-Version: 2.6.0
+Version: 2.6.1
Summary: Tryton module with stock forecasts
Home-page: http://www.tryton.org/
Author: Tryton
Author-email: UNKNOWN
License: GPL-3
+Download-URL: http://downloads.tryton.org/2.6/
Description: trytond_stock_forecast
=====================
--
tryton-modules-stock-forecast
More information about the tryton-debian-vcs
mailing list