From 6c5cc1abd2f517e8a8e0fa9ef95a0b996b90f27e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 10 Sep 2007 16:38:18 +0000 Subject: [PATCH] Also filter duplicate print actions in folder print git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16233 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_xhtml_style/Folder_print.xml | 3 ++- product/ERP5/bootstrap/erp5_xhtml_style/bt/revision | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Folder_print.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Folder_print.xml index aa8765f11e..290b8e95ed 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Folder_print.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Folder_print.xml @@ -71,7 +71,8 @@ <value> <string>kw.update(context.REQUEST.form)\n context.ERP5Site_prepareAction(**kw)\n \n -print_action_list = context.portal_actions.listFilteredActionsFor(context)[\'object_print\']\n +print_action_list = context.Base_filterDuplicateActions(\n + context.portal_actions.listFilteredActionsFor(context))[\'object_print\']\n if len(print_action_list) == 0:\n return\n if len(print_action_list) == 1:\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 5a40cf687a..662d98cc92 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -435 \ No newline at end of file +436 \ No newline at end of file -- 2.30.9