[tryton-debian-vcs] tryton-modules-stock-supply-production branch debian-stretch-3.6 updated. debian/3.6.0-1-8-g3d8ac3c

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Jul 12 13:06:45 UTC 2016


The following commit has been merged in the debian-stretch-3.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock-supply-production.git;a=commitdiff;h=debian/3.6.0-1-8-g3d8ac3c

commit 3d8ac3c30580b2e281363e6a4d88d035573b38f4
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Jul 11 20:13:45 2016 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 0d4e375..977f75a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+tryton-modules-stock-supply-production (3.6.1-1) unstable; urgency=medium
+
+  * Updating year of debian copyright.
+  * Adapting section naming in gbp.conf to current git-buildpackage.
+  * Improving description why we can not run the module test suites.
+  * Setting the branch in the watch file to the fixed version 3.6.
+  * Updating signing-key.asc with the actual upstream maintainer keys.
+  * Merging upstream version 3.6.1.
+  * Updating copyright file.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Mon, 11 Jul 2016 20:13:45 +0200
+
 tryton-modules-stock-supply-production (3.6.0-1) unstable; urgency=medium
 
   * Improving boilerplate in d/control (Closes: #771722).
commit 0fe03af4e2f198a2ed868e9bebad487df567677c
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Jul 11 20:13:44 2016 +0200

    Updating copyright file.

diff --git a/debian/copyright b/debian/copyright
index 45fca40..0c024df 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 d34623b560c9f2866eeffb19990dcd5dae6c1939
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Jul 11 20:13:44 2016 +0200

    Merging upstream version 3.6.1.

diff --git a/CHANGELOG b/CHANGELOG
index 8945a83..d692114 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.6.1 - 2016-07-04
+* Bug fixes (see mercurial logs for details)
+
 Version 3.6.0 - 2015-04-20
 * Bug fixes (see mercurial logs for details)
 * Add support for PyPy
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 49bb320..5c32a74 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_stock_supply_production
-Version: 3.6.0
+Version: 3.6.1
 Summary: Tryton module for stock supply of production
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/production.py b/production.py
index ec4ef3c..3c5fc75 100644
--- a/production.py
+++ b/production.py
@@ -2,6 +2,7 @@
 # this repository contains the full copyright notices and license terms.
 import datetime
 from decimal import Decimal
+from collections import defaultdict
 
 from trytond.model import ModelView, fields
 from trytond.pool import Pool, PoolMeta
@@ -91,8 +92,8 @@ class Production:
                 for p in sub_products)
 
             for warehouse in warehouses:
-                quantities = dict((x, pbl.pop((warehouse.id, x), 0))
-                    for x in product_ids)
+                quantities = defaultdict(lambda: 0,
+                    ((x, pbl.pop((warehouse.id, x), 0)) for x in product_ids))
                 shortages = cls.get_shortage(warehouse.id, product_ids, today,
                     quantities, products_period, product2ops)
 
diff --git a/tryton.cfg b/tryton.cfg
index fb0c952..10cb05c 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.6.0
+version=3.6.1
 depends:
     ir
     product
diff --git a/trytond_stock_supply_production.egg-info/PKG-INFO b/trytond_stock_supply_production.egg-info/PKG-INFO
index a91f006..cb41753 100644
--- a/trytond_stock_supply_production.egg-info/PKG-INFO
+++ b/trytond_stock_supply_production.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-stock-supply-production
-Version: 3.6.0
+Version: 3.6.1
 Summary: Tryton module for stock supply of production
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/trytond_stock_supply_production.egg-info/requires.txt b/trytond_stock_supply_production.egg-info/requires.txt
index 482b294..a7ca072 100644
--- a/trytond_stock_supply_production.egg-info/requires.txt
+++ b/trytond_stock_supply_production.egg-info/requires.txt
@@ -2,4 +2,4 @@ trytond_product >= 3.6, < 3.7
 trytond_production >= 3.6, < 3.7
 trytond_stock >= 3.6, < 3.7
 trytond_stock_supply >= 3.6, < 3.7
-trytond >= 3.6, < 3.7
\ No newline at end of file
+trytond >= 3.6, < 3.7
-- 
tryton-modules-stock-supply-production



More information about the tryton-debian-vcs mailing list