[tryton-debian-vcs] tryton-modules-sale-supply-drop-shipment branch upstream-4.0 updated. upstream/4.0.1-1-gfe0b20b
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Mon Dec 19 18:50:14 UTC 2016
The following commit has been merged in the upstream-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=upstream/4.0.1-1-gfe0b20b
commit fe0b20b77fa0a72abd98a68597d4c31a108b9b1b
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Dec 19 11:17:27 2016 +0100
Adding upstream version 4.0.2.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
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