Commit 6c5cc1ab authored by Jérome Perrin's avatar Jérome Perrin

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
parent 75793650
......@@ -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
......
435
\ No newline at end of file
436
\ 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