diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getRelatedDocumentList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getRelatedDocumentList.xml index 11f792a81e9ef139b5c4edc1a95fc0d26de64efc..ac62ea73ee100d727aeee73fb065df9913fe7a6e 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getRelatedDocumentList.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getRelatedDocumentList.xml @@ -53,13 +53,16 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>sub_document_list = context.portal_catalog(\n + <value> <string>kw.pop(\'relative_url\', None)\n +kw.pop(\'follow_up_uid\', None)\n +\n +sub_document_list = context.portal_catalog(\n portal_type=portal_type,\n - relative_url=\'%s/%%\' % context.getRelativeUrl())\n + relative_url=\'%s/%%\' % context.getRelativeUrl(), **kw)\n \n follow_up_related_document_list = context.portal_catalog(\n portal_type=portal_type,\n - follow_up_uid=context.getUid())\n + follow_up_uid=context.getUid(), **kw)\n \n if not sub_document_list:\n return follow_up_related_document_list\n @@ -107,6 +110,8 @@ return [doc for doc in follow_up_related_document_list] + [doc for doc in sub_do <string>portal_type</string> <string>kw</string> <string>_getattr_</string> + <string>None</string> + <string>_apply_</string> <string>context</string> <string>sub_document_list</string> <string>follow_up_related_document_list</string> diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index 139fc4688451e61589355202787f2d9e479a41ad..ef1d61bb83d89101d66a727ca7b5174c1a606f17 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -1572 \ No newline at end of file +1573 \ No newline at end of file