Commit 13213a53 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_core] Do not allow editable listbox in those dialog

The listboxes in mass delete / state change dialogs are only used to confirm the lines selection.
parent e1ab9098
...@@ -12,7 +12,9 @@ ...@@ -12,7 +12,9 @@
<list> <list>
<string>count_method</string> <string>count_method</string>
<string>default_params</string> <string>default_params</string>
<string>editable</string>
<string>lines</string> <string>lines</string>
<string>list_method</string>
<string>selection_name</string> <string>selection_name</string>
</list> </list>
</value> </value>
...@@ -98,6 +100,10 @@ ...@@ -98,6 +100,10 @@
<list/> <list/>
</value> </value>
</item> </item>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>listbox</string> </value> <value> <string>listbox</string> </value>
...@@ -110,6 +116,12 @@ ...@@ -110,6 +116,12 @@
<key> <string>lines</string> </key> <key> <string>lines</string> </key>
<value> <int>100</int> </value> <value> <int>100</int> </value>
</item> </item>
<item>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>folder_deletestate_selection</string> </value> <value> <string>folder_deletestate_selection</string> </value>
...@@ -159,4 +171,17 @@ ...@@ -159,4 +171,17 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="5" aka="AAAAAAAAAAU=">
<pickle>
<global name="Method" module="Products.Formulator.MethodField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>searchFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -12,8 +12,10 @@ ...@@ -12,8 +12,10 @@
<list> <list>
<string>count_method</string> <string>count_method</string>
<string>default_params</string> <string>default_params</string>
<string>editable</string>
<string>enabled</string> <string>enabled</string>
<string>lines</string> <string>lines</string>
<string>list_method</string>
<string>selection_name</string> <string>selection_name</string>
</list> </list>
</value> </value>
...@@ -105,6 +107,10 @@ ...@@ -105,6 +107,10 @@
<list/> <list/>
</value> </value>
</item> </item>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
<value> <int>0</int> </value> <value> <int>0</int> </value>
...@@ -121,6 +127,12 @@ ...@@ -121,6 +127,12 @@
<key> <string>lines</string> </key> <key> <string>lines</string> </key>
<value> <int>100</int> </value> <value> <int>100</int> </value>
</item> </item>
<item>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>folder_changestate_selection</string> </value> <value> <string>folder_changestate_selection</string> </value>
...@@ -183,4 +195,17 @@ ...@@ -183,4 +195,17 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="6" aka="AAAAAAAAAAY=">
<pickle>
<global name="Method" module="Products.Formulator.MethodField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>searchFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment