[tryton-debian-vcs] tryton-modules-sale-supply branch debian updated. debian/4.4.0-4-3-ge53f10a

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Thu Oct 5 12:27:23 UTC 2017


The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-sale-supply.git;a=commitdiff;h=debian/4.4.0-4-3-ge53f10a

commit e53f10af00067f521f6372b8225f7db8f3005862
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Oct 5 11:59:51 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 6d78084..db90d88 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tryton-modules-sale-supply (4.4.1-1) unstable; urgency=medium
+
+  * Bump the Standards-Version to 4.1.0, no changes needed.
+  * Merging upstream version 4.4.1.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Thu, 05 Oct 2017 11:59:51 +0200
+
 tryton-modules-sale-supply (4.4.0-4) unstable; urgency=medium
 
   * Switch to Python3.
commit fbbe978be97651c6045c9b675744670d7eb67f12
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Oct 5 11:59:51 2017 +0200

    Merging upstream version 4.4.1.

diff --git a/CHANGELOG b/CHANGELOG
index 7633150..56bcbf9 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.4.1 - 2017-10-04
+* Bug fixes (see mercurial logs for details)
+
 Version 4.4.0 - 2017-05-01
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index c665407..5530bf2 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_sale_supply
-Version: 4.4.0
+Version: 4.4.1
 Summary: Tryton module for sale supply
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff --git a/stock.py b/stock.py
index 0be650a..98f209a 100644
--- a/stock.py
+++ b/stock.py
@@ -1,5 +1,7 @@
 # This file is part of Tryton.  The COPYRIGHT file at the top level of
 # this repository contains the full copyright notices and license terms.
+from collections import defaultdict
+
 from trytond.model import ModelView, Workflow
 from trytond.pool import Pool, PoolMeta
 
@@ -27,11 +29,8 @@ class ShipmentIn:
                         'in', move_ids),
                     ('purchase_request.origin', 'like', 'sale.sale,%'),
                     ])
-            pbl = {}
+            pbl = defaultdict(lambda: defaultdict(lambda: 0))
             for move in shipment.inventory_moves:
-                pbl.setdefault(move.product, {}).setdefault(
-                    move.to_location, 0.0)
-                pbl[move.product][move.to_location] += \
-                    move.internal_quantity
+                pbl[move.product][move.to_location] += move.internal_quantity
             for sale_line in sale_lines:
                 sale_line.assign_supplied(pbl[sale_line.product])
diff --git a/tryton.cfg b/tryton.cfg
index 86d9952..180c8b7 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.4.0
+version=4.4.1
 depends:
     ir
     purchase
diff --git a/trytond_sale_supply.egg-info/PKG-INFO b/trytond_sale_supply.egg-info/PKG-INFO
index 3ebe626..35bdb4d 100644
--- a/trytond_sale_supply.egg-info/PKG-INFO
+++ b/trytond_sale_supply.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-sale-supply
-Version: 4.4.0
+Version: 4.4.1
 Summary: Tryton module for sale supply
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-sale-supply



More information about the tryton-debian-vcs mailing list