[tryton-debian-vcs] tryton-modules-stock branch upstream-1.6 created. 6440247b6badccf9434631747a69ecfdddd8ddaa

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Nov 27 17:10:23 UTC 2013


The following commit has been merged in the upstream-1.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock.git;a=commitdiff;h=6440247b6badccf9434631747a69ecfdddd8ddaa
commit 6440247b6badccf9434631747a69ecfdddd8ddaa
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Nov 20 20:59:58 2010 +0100

    Adding upstream version 1.6.2.

diff --git a/CHANGELOG b/CHANGELOG
index 14170ff..e9a6532 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 1.6.2 - 2010-11-02
+* Bug fixes (see mercurial logs for details)
+
 Version 1.6.1 - 2010-08-31
 * Bug fixes (see mercurial logs for details)
 * Security fix to use safe_eval instead of eval
diff --git a/PKG-INFO b/PKG-INFO
index 1e25d37..b56ba20 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: trytond_stock
-Version: 1.6.1
+Version: 1.6.2
 Summary: Stock Management and Inventory Control with:
     - Location definition
     - Stock move
diff --git a/__tryton__.py b/__tryton__.py
index 89bbb17..e8f68f4 100644
--- a/__tryton__.py
+++ b/__tryton__.py
@@ -6,7 +6,7 @@
     'name_es_CO': 'Inventarios',
     'name_es_ES': 'Gestión de existencias',
     'name_fr_FR': 'Gestion des stocks',
-    'version': '1.6.1',
+    'version': '1.6.2',
     'author': 'B2CK',
     'email': 'info at b2ck.com',
     'website': 'http://www.tryton.org/',
diff --git a/location.py b/location.py
index fb5f752..e619fe8 100644
--- a/location.py
+++ b/location.py
@@ -173,6 +173,8 @@ class Location(ModelSQL, ModelView):
         product_obj = self.pool.get('product.product')
         if context is None:
             context = {}
+        value = super(Location, self).view_header_get(cursor, user, value,
+                view_type=view_type, context=context)
         ctx = context.copy()
         ctx['active_test'] = False
         if context.get('product') \
diff --git a/product.py b/product.py
index df2aaba..f5b2ce8 100644
--- a/product.py
+++ b/product.py
@@ -522,6 +522,10 @@ class Product(ModelSQL, ModelView):
 
     def view_header_get(self, cursor, user, value, view_type='form',
             context=None):
+        if context is None:
+            context = {}
+        value = super(Product, self).view_header_get(cursor, user, value,
+                view_type=view_type, context=context)
         if not context.get('locations'):
             return value
         location_obj = self.pool.get('stock.location')
diff --git a/trytond_stock.egg-info/PKG-INFO b/trytond_stock.egg-info/PKG-INFO
index a89d0c5..0f77aa8 100644
--- a/trytond_stock.egg-info/PKG-INFO
+++ b/trytond_stock.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: trytond-stock
-Version: 1.6.1
+Version: 1.6.2
 Summary: Stock Management and Inventory Control with:
     - Location definition
     - Stock move
-- 
tryton-modules-stock



More information about the tryton-debian-vcs mailing list