Commit 75688d10 authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_officejs_support_request_ui: do small speed improvement

on getting project list in the support request fast input dialog
parent 114c40af
......@@ -145,7 +145,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:[(o.getTitle(), o.getId()) for o in context.getPortalObject().portal_catalog(portal_type="Project", validation_state="validated")]</string> </value>
<value> <string>python:[(o.getProperty("title"), o.getProperty("id")) for o in context.getPortalObject().portal_catalog(portal_type="Project", validation_state="validated", select_list=("id", "title"))]</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