[tryton-debian-vcs] tryton-modules-stock branch upstream-2.8 updated. upstream/2.8.5-1-gf13cccb

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Thu Jul 3 16:02:50 UTC 2014


The following commit has been merged in the upstream-2.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock.git;a=commitdiff;h=upstream/2.8.5-1-gf13cccb

commit f13cccb5b4bc1856467b18d3d1bed89ef06f34b1
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Jul 3 14:19:50 2014 +0200

    Adding upstream version 2.8.6.

diff --git a/CHANGELOG b/CHANGELOG
index 63c7414..962f381 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.8.6 - 2014-07-02
+* Bug fixes (see mercurial logs for details)
+
 Version 2.8.5 - 2014-05-07
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 6a271ff..139626a 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_stock
-Version: 2.8.5
+Version: 2.8.6
 Summary: Tryton module for stock and inventory
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/product.py b/product.py
index b1818a1..4f77da1 100644
--- a/product.py
+++ b/product.py
@@ -160,7 +160,7 @@ class Product:
         cost_values = {}
         context = {}
         trans_context = Transaction().context
-        if 'stock_date_end' in context:
+        if trans_context.get('stock_date_end'):
             context['_datetime'] = trans_context['stock_date_end']
         with Transaction().set_context(context):
             for product in products:
diff --git a/tryton.cfg b/tryton.cfg
index ed39991..4861955 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=2.8.5
+version=2.8.6
 depends:
     company
     currency
diff --git a/trytond_stock.egg-info/PKG-INFO b/trytond_stock.egg-info/PKG-INFO
index a598d73..dfc415e 100644
--- a/trytond_stock.egg-info/PKG-INFO
+++ b/trytond_stock.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-stock
-Version: 2.8.5
+Version: 2.8.6
 Summary: Tryton module for stock and inventory
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-stock



More information about the tryton-debian-vcs mailing list