Commit 3c4822a1 authored by Yusei Tahara's avatar Yusei Tahara Committed by Boxiang Sun

[erp5_core] Allow developers to choose a larger value for the preference of...

[erp5_core] Allow developers to choose a larger value for the preference of number of lines displayed in listboxes.
parent 4b908d4c
......@@ -263,19 +263,13 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(\'\', \'\')] + [(x, x) for x in (10, 20, 30, 40, 50)]</string> </value>
<value> <string>python: [(\'\', \'\')] + [(x, x) for x in ((10, 20, 30, 40, 50) + (\'Manager\' in context.portal_membership.getAuthenticatedMember().getRoles() and (100, 200, 300, 400, 500) or ()))]</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -263,19 +263,13 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(\'\', \'\')] + [(x, x) for x in (5, 10, 15, 20, 30, 40)]</string> </value>
<value> <string>python: [(\'\', \'\')] + [(x, x) for x in ((5, 10, 15, 20, 30, 40) + (\'Manager\' in context.portal_membership.getAuthenticatedMember().getRoles() and (100, 200, 300, 400, 500) or ()))]</string> </value>
</item>
</dictionary>
</pickle>
......
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