[tryton-debian-vcs] tryton-modules-sale-supply-drop-shipment branch debian-stretch-4.0 updated. debian/4.0.1-1-4-g8d2aed2

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Mon Dec 19 18:50:12 UTC 2016


The following commit has been merged in the debian-stretch-4.0 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-sale-supply-drop-shipment.git;a=commitdiff;h=debian/4.0.1-1-4-g8d2aed2

commit 8d2aed239ab66b2fd4cc84a2c82e0ac0a92054ac
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Dec 19 11:17:28 2016 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 35acf60..49468dd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tryton-modules-sale-supply-drop-shipment (4.0.2-1) unstable; urgency=medium
+
+  * Updating to Standards-Version: 3.9.8, no changes needed.
+  * Setting the branch in the watch file to the fixed version 4.0.
+  * Merging upstream version 4.0.2.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Mon, 19 Dec 2016 11:17:28 +0100
+
 tryton-modules-sale-supply-drop-shipment (4.0.1-1) unstable; urgency=medium
 
   * Updating signing-key.asc with the actual upstream maintainer keys.
commit 9212403cfce5102362c3e65585b8532dbd7c84a0
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Dec 19 11:17:27 2016 +0100

    Merging upstream version 4.0.2.

diff --git a/CHANGELOG b/CHANGELOG
index f1ed9c2..4f10148 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.2 - 2016-12-17
+* Bug fixes (see mercurial logs for details)
+
 Version 4.0.1 - 2016-05-11
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index b8783cc..843d7a3 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_sale_supply_drop_shipment
-Version: 4.0.1
+Version: 4.0.2
 Summary: Tryton module for sale supply drop shipment
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/stock.py b/stock.py
index 90a5f23..6e35a21 100644
--- a/stock.py
+++ b/stock.py
@@ -399,7 +399,7 @@ class ShipmentDrop(Workflow, ModelSQL, ModelView):
 
         requests = []
         for sub_lines in grouped_slice([m.origin.id for s in shipments
-                    for m in s.supplier_moves]):
+                    for m in s.supplier_moves if m.origin]):
             requests += PurchaseRequest.search([
                     ('purchase_line', 'in', list(sub_lines)),
                     ])
@@ -412,6 +412,8 @@ class ShipmentDrop(Workflow, ModelSQL, ModelView):
         to_save = []
         for shipment in shipments:
             for move in shipment.supplier_moves:
+                if not move.origin:
+                    continue
                 sale_line = request2sline[pline2request[move.origin]]
                 for move in sale_line.moves:
                     if (move.state not in ('cancel', 'done')
diff --git a/tryton.cfg b/tryton.cfg
index 9fa6bb2..0495503 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.0.1
+version=4.0.2
 depends:
     company
     ir
diff --git a/trytond_sale_supply_drop_shipment.egg-info/PKG-INFO b/trytond_sale_supply_drop_shipment.egg-info/PKG-INFO
index 0c8151e..eac89ff 100644
--- a/trytond_sale_supply_drop_shipment.egg-info/PKG-INFO
+++ b/trytond_sale_supply_drop_shipment.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-sale-supply-drop-shipment
-Version: 4.0.1
+Version: 4.0.2
 Summary: Tryton module for sale supply drop shipment
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-sale-supply-drop-shipment



More information about the tryton-debian-vcs mailing list