[tryton-debian-vcs] tryton-modules-stock branch debian-wheezy-2.6 updated. debian/2.6.7-1-2-gbf979f7

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


The following commit has been merged in the debian-wheezy-2.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock.git;a=commitdiff;h=debian/2.6.7-1-2-gbf979f7

commit bf979f7fbcadca81e2e4308d8e37a6888b88df7e
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Jul 3 14:17:08 2014 +0200

    Releasing debian version 2.6.8-1.

diff --git a/debian/changelog b/debian/changelog
index d7c3372..75956ce 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-stock (2.6.8-1) unstable; urgency=medium
+
+  * Merging upstream version 2.6.8.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Thu, 03 Jul 2014 14:17:08 +0200
+
 tryton-modules-stock (2.6.7-1) unstable; urgency=medium
 
   * Merging upstream version 2.6.7.
commit 83acfed5d29288aa35b844055caa943026ac4ec1
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Jul 3 14:17:01 2014 +0200

    Merging upstream version 2.6.8.

diff --git a/CHANGELOG b/CHANGELOG
index e621128..8b149a4 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.6.8 - 2014-07-02
+* Bug fixes (see mercurial logs for details)
+
 Version 2.6.7 - 2014-05-07
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index d9df2ce..e28f91a 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_stock
-Version: 2.6.7
+Version: 2.6.8
 Summary: Tryton module for stock and inventory
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/product.py b/product.py
index c4c4699..5b37e34 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 7ed4d7e..32474b4 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=2.6.7
+version=2.6.8
 depends:
     company
     currency
diff --git a/trytond_stock.egg-info/PKG-INFO b/trytond_stock.egg-info/PKG-INFO
index e536879..33b4e45 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.6.7
+Version: 2.6.8
 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