Commit 34ca9a7d authored by Jérome Perrin's avatar Jérome Perrin

don't use ERP5Site_getModuleItemList which includes the path of the module, id...

don't use ERP5Site_getModuleItemList which includes the path of the module, id is enough and more portable

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36413 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4ba9aff0
...@@ -84,8 +84,8 @@ ...@@ -84,8 +84,8 @@
<key> <string>module_list</string> </key> <key> <string>module_list</string> </key>
<value> <value>
<tuple> <tuple>
<string>/erp5/organisation_module</string> <string>organisation_module</string>
<string>/erp5/person_module</string> <string>person_module</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -269,7 +269,7 @@ ...@@ -269,7 +269,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>context/ERP5Site_getModuleItemList</string> </value> <value> <string>python: [(module.getTranslatedTitle(), module.getId()) for module in context.getPortalObject().objectValues(spec=\'ERP5 Folder\')]</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
102 103
\ No newline at end of file \ No newline at end of file
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