diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_getDestinationSectionItemList.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_getDestinationSectionItemList.xml index 836b4fe57fa973d5f37e377b69a9f170d5fa190e..9dddc198dd6467ec67f17d59c78adbaf15875cb4 100644 --- a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_getDestinationSectionItemList.xml +++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_getDestinationSectionItemList.xml @@ -50,7 +50,10 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>section_cat = context.portal_preferences.getPreferredSectionCategory()\n + <value> <string>from Products.ERP5Type.Log import log\n +log(\'Deprecated: use Base_getPreferredSectionItemList instead.\')\n +\n +section_cat = context.portal_preferences.getPreferredSectionCategory()\n if section_cat in (None, \'\') : \n section_cat = context.getPortalDefaultSectionCategory()\n \n @@ -109,6 +112,8 @@ return [(\'\', \'\')] + [(i.getTitle(), i.getRelativeUrl()) for i in result]\n <key> <string>co_varnames</string> </key> <value> <tuple> + <string>Products.ERP5Type.Log</string> + <string>log</string> <string>_getattr_</string> <string>context</string> <string>section_cat</string> diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision index ddac0493114f442981539b57c9a73b066fd4ba34..626644fadca1c7471dee803656968e2f72368c58 100644 --- a/bt5/erp5_trade/bt/revision +++ b/bt5/erp5_trade/bt/revision @@ -1 +1 @@ -1059 \ No newline at end of file +1060 \ No newline at end of file