[tryton-debian-vcs] tryton-modules-sale-supply-drop-shipment branch upstream-3.8 updated. upstream/3.8.1-1-g475b9a6

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-3.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-sale-supply-drop-shipment.git;a=commitdiff;h=upstream/3.8.1-1-g475b9a6

commit 475b9a6cbc8d917e4a21a4f7da1123969720125a
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Mar 14 10:22:59 2017 +0100

    Adding upstream version 3.8.2.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index bfd65ab..a0add83 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.8.2 - 2017-03-10
+* Bug fixes (see mercurial logs for details)
+
 Version 3.8.1 - 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 93d7206..8ed2904 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_sale_supply_drop_shipment
-Version: 3.8.1
+Version: 3.8.2
 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 6092e13..c4a4a0c 100644
--- a/purchase.py
+++ b/purchase.py
@@ -218,8 +218,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 c90cbff..a2e089a 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.8.1
+version=3.8.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 a14bd24..fa5ef73 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: 3.8.1
+Version: 3.8.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