From 4673fa843846780063630f4b804014c5bb5ecb01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 28 Oct 2010 20:10:58 +0200 Subject: [PATCH] Fix typo from Transaction migration for issue1744 thx to paul --- shipment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shipment.py b/shipment.py index c94744991d..46e30d1afd 100644 --- a/shipment.py +++ b/shipment.py @@ -1626,7 +1626,7 @@ class AssignShipmentInternal(Wizard): 'shipmentinternal_trans_waiting_assigned_force') trans = transition_obj.read(trans_id) user_in_group = user_group_obj.search([ - ('uid', '=', user), + ('uid', '=', Transaction().user), ('gid', '=', trans['group']), ], limit=1) if user_in_group: @@ -1714,7 +1714,7 @@ class AssignShipmentInReturn(Wizard): 'shipment_in_return_trans_waiting_assigned_force') trans = transition_obj.read(trans_id) user_in_group = user_group_obj.search([ - ('uid', '=', user), + ('uid', '=', Transaction().user), ('gid', '=', trans['group']), ], limit=1) if user_in_group: