Commit d6b74974 authored by Mame Coumba Sall's avatar Mame Coumba Sall

Modify script to include all "open" state's id(i.e. validated, contacted)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38373 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6aee2b4f
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
which can be used a follow up to a CRM event.\n which can be used a follow up to a CRM event.\n
"""\n """\n
type_list = context.getPortalTicketTypeList() + context.getPortalProjectTypeList()\n type_list = context.getPortalTicketTypeList() + context.getPortalProjectTypeList()\n
node_list = context.portal_catalog(portal_type=type_list, simulation_state=[\'draft\', \'open\'])\n node_list = context.portal_catalog(portal_type=type_list, simulation_state=[\'draft\', \'open\', \'validated\', \'contacted\'])\n
return map(lambda x:(x.getTitle(), x.getRelativeUrl()), node_list)\n return map(lambda x:(x.getTitle(), x.getRelativeUrl()), node_list)\n
</string> </value> </string> </value>
</item> </item>
......
489 490
\ No newline at end of file \ 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