[tryton-debian-vcs] tryton-modules-stock branch debian-wheezy-2.6 updated. debian/2.6.6-1-3-gf2dcc09
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Mon May 12 16:10:43 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.6-1-3-gf2dcc09
commit f2dcc096c13b0e0439559e5d650d07ee919a9931
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon May 12 16:18:05 2014 +0200
Releasing debian version 2.6.7-1.
diff --git a/debian/changelog b/debian/changelog
index f626857..d7c3372 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tryton-modules-stock (2.6.7-1) unstable; urgency=medium
+
+ * Merging upstream version 2.6.7.
+ * Updating copyright file.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Mon, 12 May 2014 16:18:05 +0200
+
tryton-modules-stock (2.6.6-1) unstable; urgency=medium
* Merging upstream version 2.6.6.
commit 9501b1b2db27f229744924e89e70854aa1307d1f
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon May 12 16:18:02 2014 +0200
Updating copyright file.
diff --git a/debian/copyright b/debian/copyright
index 1bb679d..967504f 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,9 +2,9 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Files: *
Copyright: 2012 Openlabs Technologies & Consulting (P) LTD
- 2008-2013 Cédric Krier
+ 2008-2014 Cédric Krier
2008-2012 Bertrand Chenal
- 2008-2013 B2CK SPRL
+ 2008-2014 B2CK SPRL
2004-2008 Tiny SPRL
License: GPL-3+
commit ab249f0366eabaf86cac02b006cfe2b26881bebc
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon May 12 16:18:02 2014 +0200
Merging upstream version 2.6.7.
diff --git a/CHANGELOG b/CHANGELOG
index a41ea26..e621128 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.6.7 - 2014-05-07
+* Bug fixes (see mercurial logs for details)
+
Version 2.6.6 - 2014-01-18
* Bug fixes (see mercurial logs for details)
diff --git a/COPYRIGHT b/COPYRIGHT
index 5d0e16a..a89a871 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,7 +1,7 @@
Copyright (C) 2012 Openlabs Technologies & Consulting (P) LTD.
-Copyright (C) 2008-2013 Cédric Krier.
+Copyright (C) 2008-2014 Cédric Krier.
Copyright (C) 2008-2012 Bertrand Chenal.
-Copyright (C) 2008-2013 B2CK SPRL.
+Copyright (C) 2008-2014 B2CK SPRL.
Copyright (C) 2004-2008 Tiny SPRL.
This program is free software: you can redistribute it and/or modify
diff --git a/PKG-INFO b/PKG-INFO
index 914218e..d9df2ce 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_stock
-Version: 2.6.6
+Version: 2.6.7
Summary: Tryton module for stock and inventory
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/location.py b/location.py
index d6146dd..4ec8cce 100644
--- a/location.py
+++ b/location.py
@@ -307,8 +307,9 @@ class Location(ModelSQL, ModelView):
default=default)
warehouse_locations = Transaction().context.get(
'cp_warehouse_locations') or {}
- cp_warehouse = cls(Transaction().context['cp_warehouse_id'])
if location.id in warehouse_locations.values():
+ cp_warehouse = cls(
+ Transaction().context['cp_warehouse_id'])
for field, loc_id in warehouse_locations.iteritems():
if loc_id == location.id:
cls.write([cp_warehouse], {
diff --git a/product.py b/product.py
index 07d3fe3..c4c4699 100644
--- a/product.py
+++ b/product.py
@@ -551,6 +551,8 @@ class Product:
res[(location_id, product_id)] = 0.0
if wh_to_add:
+ if product_ids is None:
+ product_ids = set((p for s, p in res))
for wh, storage in wh_to_add.iteritems():
for product in product_ids:
if (storage, product) in res:
diff --git a/tryton.cfg b/tryton.cfg
index daff6d6..7ed4d7e 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=2.6.6
+version=2.6.7
depends:
company
currency
diff --git a/trytond_stock.egg-info/PKG-INFO b/trytond_stock.egg-info/PKG-INFO
index 1e124c7..e536879 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.6
+Version: 2.6.7
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