[tryton-debian-vcs] tryton-modules-stock branch debian-jessie-3.4 updated. debian/3.4.4-1-2-g44fd014

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Sun Sep 4 16:59:51 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.git;a=commitdiff;h=debian/3.4.4-1-2-g44fd014

commit 44fd014c21187505a20ede78d7717e14e7d2f51f
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Sep 3 20:42:19 2016 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 39c59be..b0ba222 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-stock (3.4.5-1) unstable; urgency=medium
+
+  * Merging upstream version 3.4.5.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Sat, 03 Sep 2016 20:42:19 +0200
+
 tryton-modules-stock (3.4.4-1) unstable; urgency=medium
 
   * Updating signing-key.asc with the actual upstream maintainer keys.
commit 9c8571178ba45244a9a92541b6d59e995ad77c3a
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Sep 3 20:42:18 2016 +0200

    Merging upstream version 3.4.5.

diff --git a/CHANGELOG b/CHANGELOG
index 5d9f1b2..560a132 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.4.5 - 2016-09-03
+* Bug fixes (see mercurial logs for details)
+
 Version 3.4.4 - 2016-07-04
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 6a63f31..30338ea 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_stock
-Version: 3.4.4
+Version: 3.4.5
 Summary: Tryton module for stock and inventory
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/inventory.py b/inventory.py
index d7526d3..054f826 100644
--- a/inventory.py
+++ b/inventory.py
@@ -176,6 +176,9 @@ class Inventory(Workflow, ModelSQL, ModelView):
 
         to_create = []
         for inventory in inventories:
+            # Once done computation is wrong because include created moves
+            if inventory.state == 'done':
+                continue
             # Compute product quantities
             with Transaction().set_context(stock_date_end=inventory.date):
                 pbl = Product.products_by_location([inventory.location.id])
diff --git a/tryton.cfg b/tryton.cfg
index f040f83..58dd48b 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.4.4
+version=3.4.5
 depends:
     company
     currency
diff --git a/trytond_stock.egg-info/PKG-INFO b/trytond_stock.egg-info/PKG-INFO
index 949be87..8c01fb8 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.4.4
+Version: 3.4.5
 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