From 5c999848a2672e70a2eefc4572a0f0e0ad3ef5b9 Mon Sep 17 00:00:00 2001
From: iv <isabelle.vallet@nexedi.com>
Date: Mon, 16 Jan 2017 16:43:21 +0000
Subject: [PATCH] ERP5Form: fix typo on SelectionTool warning about listbox IDs

---
 product/ERP5Form/Tool/SelectionTool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Form/Tool/SelectionTool.py b/product/ERP5Form/Tool/SelectionTool.py
index e61909d4ec..7e40717410 100644
--- a/product/ERP5Form/Tool/SelectionTool.py
+++ b/product/ERP5Form/Tool/SelectionTool.py
@@ -1890,7 +1890,7 @@ def createFolderMixInPageSelectionMethod(listbox_id):
         "DEPRECATED: %s_%s: The ListBox ID must not be contained anymore in the "
         "method name, but instead be in the 'value' attribute of the submit "
         "button and the method name should be 'listbox_%s'" %
-        (wrapper_listbox_id, wrapper_property_id, wrapper_method_id),
+        (wrapper_listbox_id, wrapper_property_id, wrapper_listbox_id),
         DeprecationWarning)
 
       portal_selection = getToolByName(self, 'portal_selections')
-- 
2.30.9