[tryton-debian-vcs] tryton-modules-stock branch debian-stretch-3.6 updated. debian/3.6.2-1-2-g2de8e3e

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-stretch-3.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock.git;a=commitdiff;h=debian/3.6.2-1-2-g2de8e3e

commit 2de8e3e2131f217d3cc08af908568e5f2d111b5d
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Sep 3 20:43:28 2016 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 8d3d315..5659c34 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-stock (3.6.3-1) unstable; urgency=medium
+
+  * Merging upstream version 3.6.3.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Sat, 03 Sep 2016 20:43:28 +0200
+
 tryton-modules-stock (3.6.2-1) unstable; urgency=medium
 
   * Updating signing-key.asc with the actual upstream maintainer keys.
commit 21e8bf0875f7db1b6797df83f11954d3fb0f2648
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Sep 3 20:43:28 2016 +0200

    Merging upstream version 3.6.3.

diff --git a/CHANGELOG b/CHANGELOG
index f3b6c3e..2ee7f65 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.6.3 - 2016-09-03
+* Bug fixes (see mercurial logs for details)
+
 Version 3.6.2 - 2016-07-04
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index ef315f5..8c634f0 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_stock
-Version: 3.6.2
+Version: 3.6.3
 Summary: Tryton module for stock and inventory
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/inventory.py b/inventory.py
index e7e9065..04122e8 100644
--- a/inventory.py
+++ b/inventory.py
@@ -178,6 +178,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 1f574bf..36c408a 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.6.2
+version=3.6.3
 depends:
     company
     currency
diff --git a/trytond_stock.egg-info/PKG-INFO b/trytond_stock.egg-info/PKG-INFO
index bd89e22..f4daaab 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.6.2
+Version: 3.6.3
 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