From debfe387357bb1c7e2cbc80604013d4c63681894 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Wed, 11 Dec 2013 17:36:24 +0100 Subject: [PATCH] re-allow internal shipment from/to lost and found locations review2181002 issue3544 --- shipment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shipment.py b/shipment.py index d0a09c2c7d..06c3ff81f8 100644 --- a/shipment.py +++ b/shipment.py @@ -1753,14 +1753,14 @@ class ShipmentInternal(Workflow, ModelSQL, ModelView): Bool(Eval('moves'))), }, domain=[ - ('type', 'in', ['storage']), + ('type', 'in', ['storage', 'lost_found']), ], depends=['state', 'moves']) to_location = fields.Many2One('stock.location', "To Location", required=True, states={ 'readonly': Or(Not(Equal(Eval('state'), 'draft')), Bool(Eval('moves'))), }, domain=[ - ('type', 'in', ['storage']), + ('type', 'in', ['storage', 'lost_found']), ], depends=['state', 'moves']) moves = fields.One2Many('stock.move', 'shipment', 'Moves', states={