Commit d95b947b authored by Rafael Monnerat's avatar Rafael Monnerat

Do not permit create Slave Instances with same title also.

parent 92c9e11d
......@@ -64,7 +64,7 @@ if not service_title:\n
keep_items={\'portal_status_message\':context.Base_translateString("You have to provide Service Title.")})\n
\n
software_instance_list = context.portal_catalog(\n
portal_type=\'Software Instance\',\n
portal_type=[\'Software Instance\', \'Slave Instance\'],\n
select_expression=\'title\',\n
title={\'query\': service_title, \'key\': \'ExactMatch\'}\n
)\n
......
298
\ No newline at end of file
299
\ 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