Commit 88d8fd6f authored by Rafael Monnerat's avatar Rafael Monnerat

It is not required to have current state for make business configuration...

It is not required to have current state for make business configuration available for configuration.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44418 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fda10e5b
......@@ -58,8 +58,7 @@
bc_list = context.business_configuration_module.searchFolder(portal_type="Business Configuration")\n
result_list = []\n
for business_configuration in bc_list:\n
if None not in [business_configuration.getResource(), \n
business_configuration.getCurrentState()]:\n
if None not in [business_configuration.getResource()]:\n
title = business_configuration.getTitle()\n
relative_url = business_configuration.getRelativeUrl()\n
result_list.append((title, relative_url))\n
......
498
\ No newline at end of file
499
\ 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