Commit 040e3e63 authored by Rafael Monnerat's avatar Rafael Monnerat

erp5_forge: installation_state isn't a valid column to use on catalog queries anymore

parent ca50a17d
...@@ -11,8 +11,7 @@ bt_list = [ ...@@ -11,8 +11,7 @@ bt_list = [
x.getObject() x.getObject()
for x in portal.portal_catalog( for x in portal.portal_catalog(
portal_type="Business Template", portal_type="Business Template",
installation_state="installed", )
)
if x.getInstallationState() == "installed" and x.getTitle() not in black_list and x.getId() not in black_list if x.getInstallationState() == "installed" and x.getTitle() not in black_list and x.getId() not in black_list
] ]
......
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