[tryton-debian-vcs] tryton-modules-stock branch debian updated. debian/3.2.0-1-3-g6d751ed
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 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock.git;a=commitdiff;h=debian/3.2.0-1-3-g6d751ed
commit 6d751ed64574f11883540c1921aa1fc6d6a0511f
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Thu Jul 3 14:14:26 2014 +0200
Releasing debian version 3.2.1-1.
diff --git a/debian/changelog b/debian/changelog
index b61aadf..3ba09dd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tryton-modules-stock (3.2.1-1) unstable; urgency=medium
+
+ * Updating signing key while using now plain .asc files instead of .pgp
+ binaries.
+ * Merging upstream version 3.2.1.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Thu, 03 Jul 2014 14:14:26 +0200
+
tryton-modules-stock (3.2.0-1) unstable; urgency=medium
* Removing LC_ALL=C.UTF-8 as build environment.
commit 4ab4605364257e4e256eb7a24de051bc6cdd4d2b
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Thu Jul 3 14:14:23 2014 +0200
Merging upstream version 3.2.1.
diff --git a/CHANGELOG b/CHANGELOG
index 8f18144..15115bc 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.2.1 - 2014-07-02
+* Bug fixes (see mercurial logs for details)
+
Version 3.2.0 - 2014-04-21
* Bug fixes (see mercurial logs for details)
* Add warning for moves without origin
diff --git a/PKG-INFO b/PKG-INFO
index a395af4..4ede28d 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_stock
-Version: 3.2.0
+Version: 3.2.1
Summary: Tryton module for stock and inventory
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/TODO b/TODO
deleted file mode 100644
index 617e1d9..0000000
--- a/TODO
+++ /dev/null
@@ -1,3 +0,0 @@
-- Add an indexed period on move with automatic creation and default duration
- defined on company
-
diff --git a/product.py b/product.py
index 9acfc84..d4cdfed 100644
--- a/product.py
+++ b/product.py
@@ -106,7 +106,7 @@ class Product(object, StockMixin):
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:
@@ -162,15 +162,12 @@ class Product(object, StockMixin):
grouping=grouping, grouping_filter=grouping_filter)
if wh_to_add:
- if product_ids is None:
- product_ids = set((p for s, p in quantities))
for wh, storage in wh_to_add.iteritems():
- for product in product_ids:
- if (storage, product) in quantities:
- quantities[(wh, product)] = quantities[
- (storage, product)]
+ for key in quantities:
+ if key[0] == storage:
+ quantities[(wh,) + key[1:]] = quantities[key]
if storage in storage_to_remove:
- del quantities[(storage, product)]
+ del quantities[key]
return quantities
diff --git a/tryton.cfg b/tryton.cfg
index 639b32a..04de374 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.2.0
+version=3.2.1
depends:
company
currency
diff --git a/trytond_stock.egg-info/PKG-INFO b/trytond_stock.egg-info/PKG-INFO
index ed043a0..4654365 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: 3.2.0
+Version: 3.2.1
Summary: Tryton module for stock and inventory
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond_stock.egg-info/SOURCES.txt b/trytond_stock.egg-info/SOURCES.txt
index 7910ad4..d59d051 100644
--- a/trytond_stock.egg-info/SOURCES.txt
+++ b/trytond_stock.egg-info/SOURCES.txt
@@ -4,7 +4,6 @@ INSTALL
LICENSE
MANIFEST.in
README
-TODO
configuration.xml
customer_return_restocking_list.odt
delivery_note.odt
--
tryton-modules-stock
More information about the tryton-debian-vcs
mailing list