[tryton-debian-vcs] tryton-modules-stock branch debian-jessie-3.2 updated. debian/3.2.8-1-2-g863a447

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

commit 863a447702d48b135fea5675066722ae78785344
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Sep 3 20:41:09 2016 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 3561efb..948517c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-stock (3.2.9-1) unstable; urgency=medium
+
+  * Merging upstream version 3.2.9.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Sat, 03 Sep 2016 20:41:09 +0200
+
 tryton-modules-stock (3.2.8-1) unstable; urgency=medium
 
   * Updating signing-key.asc with the actual upstream maintainer keys.
commit fd201aa99db9064093fe8992a6a5f1a10303a3d9
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Sep 3 20:41:09 2016 +0200

    Merging upstream version 3.2.9.

diff --git a/CHANGELOG b/CHANGELOG
index 2d1d438..e9a7cdb 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.2.9 - 2016-09-03
+* Bug fixes (see mercurial logs for details)
+
 Version 3.2.8 - 2016-07-04
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 02e2217..9322298 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_stock
-Version: 3.2.8
+Version: 3.2.9
 Summary: Tryton module for stock and inventory
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/inventory.py b/inventory.py
index 3c515b3..c63d978 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 d05d14b..950b3db 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.2.8
+version=3.2.9
 depends:
     company
     currency
diff --git a/trytond_stock.egg-info/PKG-INFO b/trytond_stock.egg-info/PKG-INFO
index 213056b..f8475ae 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.2.8
+Version: 3.2.9
 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