[tryton-debian-vcs] tryton-modules-sale-supply-drop-shipment branch upstream-3.8 updated. upstream/3.8.0-1-g9862a12
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-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.0-1-g9862a12
commit 9862a1282b2d84dd6e58d19a9a977efc40cfc616
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Dec 19 11:16:20 2016 +0100
Adding upstream version 3.8.1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index 106f5ad..bfd65ab 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.8.1 - 2016-12-17
+* Bug fixes (see mercurial logs for details)
+
Version 3.8.0 - 2015-11-02
* Bug fixes (see mercurial logs for details)
* Split moves into supplier and customer moves
diff --git a/COPYRIGHT b/COPYRIGHT
index 196a420..93ef5be 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2011-2015 Cédric Krier.
-Copyright (C) 2011-2015 B2CK SPRL.
+Copyright (C) 2011-2016 Cédric Krier.
+Copyright (C) 2011-2016 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 d0b191b..93d7206 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_sale_supply_drop_shipment
-Version: 3.8.0
+Version: 3.8.1
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 c4f5c3f..84ba695 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 833794e..c90cbff 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.8.0
+version=3.8.1
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 cca4d21..a14bd24 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.0
+Version: 3.8.1
Summary: Tryton module for sale supply drop shipment
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond_sale_supply_drop_shipment.egg-info/requires.txt b/trytond_sale_supply_drop_shipment.egg-info/requires.txt
index 2e81335..eee7bb6 100644
--- a/trytond_sale_supply_drop_shipment.egg-info/requires.txt
+++ b/trytond_sale_supply_drop_shipment.egg-info/requires.txt
@@ -3,4 +3,4 @@ trytond_purchase >= 3.8, < 3.9
trytond_sale >= 3.8, < 3.9
trytond_sale_supply >= 3.8, < 3.9
trytond_stock >= 3.8, < 3.9
-trytond >= 3.8, < 3.9
\ No newline at end of file
+trytond >= 3.8, < 3.9
--
tryton-modules-sale-supply-drop-shipment
More information about the tryton-debian-vcs
mailing list