[tryton-debian-vcs] tryton-modules-sale-supply-drop-shipment branch upstream-4.0 updated. upstream/4.0.2-1-g932c6a0
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Tue Mar 14 12:11:35 UTC 2017
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.2-1-g932c6a0
commit 932c6a0da439fe30ef0fa3ca4ee344f5c6e865ca
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Mar 14 10:24:12 2017 +0100
Adding upstream version 4.0.3.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index 4f10148..91fa9ad 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.3 - 2017-03-10
+* Bug fixes (see mercurial logs for details)
+
Version 4.0.2 - 2016-12-17
* Bug fixes (see mercurial logs for details)
diff --git a/COPYRIGHT b/COPYRIGHT
index 93ef5be..4f1c2b0 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2011-2016 Cédric Krier.
-Copyright (C) 2011-2016 B2CK SPRL.
+Copyright (C) 2011-2017 Cédric Krier.
+Copyright (C) 2011-2017 B2CK SPRL.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index 843d7a3..c426654 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_sale_supply_drop_shipment
-Version: 4.0.2
+Version: 4.0.3
Summary: Tryton module for sale supply drop shipment
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/purchase.py b/purchase.py
index 4319d34..415d6a1 100644
--- a/purchase.py
+++ b/purchase.py
@@ -206,8 +206,13 @@ class PurchaseHandleShipmentException:
for line in purchase.lines:
if not set(line.moves) & domain_moves:
continue
+ request = pline2request.get(line)
+ if not request:
+ continue
+ sale_line = request2sline.get(request)
+ if not sale_line:
+ continue
if not any(m in to_recreate for m in line.moves):
- sale_line = request2sline[pline2request[line]]
moves.update({m for m in sale_line.moves
if (m.state != 'done'
and m.from_location.type == 'drop')})
diff --git a/tryton.cfg b/tryton.cfg
index 0495503..5a681a4 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.0.2
+version=4.0.3
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 eac89ff..24e5be9 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.2
+Version: 4.0.3
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