[tryton-debian-vcs] tryton-modules-stock-lot branch debian-jessie-3.4 updated. debian/3.4.1-1-6-gee5facc

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Mon Dec 19 18:51:27 UTC 2016


The following commit has been merged in the debian-jessie-3.4 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock-lot.git;a=commitdiff;h=debian/3.4.1-1-6-gee5facc

commit ee5facc8195c7381b4cc89a007c88610312fbfb0
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Dec 19 12:05:07 2016 +0100

    Releasing debian version 3.4.2-1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/debian/changelog b/debian/changelog
index b5d336a..2e57e84 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+tryton-modules-stock-lot (3.4.2-1) unstable; urgency=medium
+
+  * Wrapping and sorting control files (wrap-and-sort -bts).
+  * Setting the branch in the watch file to the fixed version 3.4.
+  * Updating signing-key.asc with the actual upstream maintainer keys.
+  * Merging upstream version 3.4.2.
+  * Updating copyright file.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Mon, 19 Dec 2016 12:05:07 +0100
+
 tryton-modules-stock-lot (3.4.1-1) unstable; urgency=medium
 
   * Adding actual upstream signing key.
commit 7c2b4d76b2be6544dd6a7d47a8c3b436a569c1be
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Dec 19 12:05:06 2016 +0100

    Updating copyright file.

diff --git a/debian/copyright b/debian/copyright
index 5a6ef2a..9072df7 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,8 +1,8 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 
 Files: *
-Copyright: 2012-2015 Cédric Krier
-           2012-2015 B2CK SPRL
+Copyright: 2012-2016 Cédric Krier
+           2012-2016 B2CK SPRL
 License: GPL-3+
 
 Files: debian/*
commit 4217ed675028c2f6fe445ea0489c133c5a6298b8
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Dec 19 12:05:06 2016 +0100

    Merging upstream version 3.4.2.

diff --git a/CHANGELOG b/CHANGELOG
index b4d2932..5a693c8 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.4.2 - 2016-12-17
+* Bug fixes (see mercurial logs for details)
+
 Version 3.4.1 - 2015-02-18
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index 776aee6..442fb2d 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2012-2015 Cédric Krier.
-Copyright (C) 2012-2015 B2CK SPRL.
+Copyright (C) 2012-2016 Cédric Krier.
+Copyright (C) 2012-2016 B2CK SPRL.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index 0f02a0e..c7e6f69 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_stock_lot
-Version: 3.4.1
+Version: 3.4.2
 Summary: Tryton module for lot of products
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/stock.py b/stock.py
index 782ffac..6820458 100644
--- a/stock.py
+++ b/stock.py
@@ -102,10 +102,9 @@ class ShipmentOut:
         Move = pool.get('stock.move')
         super(ShipmentOut, cls)._sync_inventory_to_outgoing(shipments)
         for shipment in shipments:
-            outgoing_by_product = {}
+            outgoing_by_product = defaultdict(list)
             for move in shipment.outgoing_moves:
-                outgoing_by_product.setdefault(move.product.id,
-                    []).append(move)
+                outgoing_by_product[move.product.id].append(move)
             for move in shipment.inventory_moves:
                 if not move.lot:
                     continue
diff --git a/tryton.cfg b/tryton.cfg
index c298804..11a060a 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.4.1
+version=3.4.2
 depends:
     ir
     product
diff --git a/trytond_stock_lot.egg-info/PKG-INFO b/trytond_stock_lot.egg-info/PKG-INFO
index 62919b6..a59d08d 100644
--- a/trytond_stock_lot.egg-info/PKG-INFO
+++ b/trytond_stock_lot.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-stock-lot
-Version: 3.4.1
+Version: 3.4.2
 Summary: Tryton module for lot of products
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/trytond_stock_lot.egg-info/requires.txt b/trytond_stock_lot.egg-info/requires.txt
index 158bea8..c0de9b0 100644
--- a/trytond_stock_lot.egg-info/requires.txt
+++ b/trytond_stock_lot.egg-info/requires.txt
@@ -1,3 +1,3 @@
 trytond_product >= 3.4, < 3.5
 trytond_stock >= 3.4, < 3.5
-trytond >= 3.4, < 3.5
\ No newline at end of file
+trytond >= 3.4, < 3.5
-- 
tryton-modules-stock-lot



More information about the tryton-debian-vcs mailing list