Reviewers: ,
Please review this at http://codereview.tryton.org/837003/ Affected files: M shipment.py Index: shipment.py =================================================================== --- a/shipment.py +++ b/shipment.py @@ -86,7 +86,7 @@ # Group moves by {from,to}_location shipments = {} for key, qty in moves.iteritems(): - from_location, to_location, product = key + to_location, from_location, product = key shipments.setdefault( (from_location, to_location), []).append((product, qty)) # Create shipments and moves
