diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getModuleItemList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getModuleItemList.xml index 7eed591bb4b7a655a31671d532681207d8b95fde..75c9661cafa286faedbf48f32dc9809b79afd6be 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getModuleItemList.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getModuleItemList.xml @@ -85,7 +85,8 @@ def getModuleItemList(user=None, portal_path=None):\n item_list.sort(lambda a, b:cmp(a[0], b[0]))\n return item_list\n \n -getModuleItemList = CachingMethod(getModuleItemList, id=\'ERP5Site_getModuleItemList\')\n +getModuleItemList = CachingMethod(getModuleItemList, \n + id=(\'ERP5Site_getModuleItemList\', context.Localizer.get_selected_language()))\n portal_path = context.getPortalObject().getPhysicalPath()\n return getModuleItemList(user=user, portal_path=portal_path)\n </string> </value>