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 @@ ...@@ -263,19 +263,13 @@
</record> </record>
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <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> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -263,19 +263,13 @@ ...@@ -263,19 +263,13 @@
</record> </record>
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <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> </item>
</dictionary> </dictionary>
</pickle> </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