diff --git a/product/ERP5Form/ListBox.py b/product/ERP5Form/ListBox.py index 9a2601de2a0938cac32dc161229c2cd72159b0cd..c1deca03392da6745691ad2ccde237ceb92ffd9a 100755 --- a/product/ERP5Form/ListBox.py +++ b/product/ERP5Form/ListBox.py @@ -1815,7 +1815,7 @@ onChange="submitAction(this.form,'%s/portal_selections/setReportRoot')"> items = subfield.get_value('items', **field_kw) for display, value in items: if value == attribute_original_value : - attribute_value_tmp = display + attribute_original_value = display break # Make sure that attribute value is UTF-8 attribute_value_tmp = attribute_original_value