Commit a8e4dd54 authored by Nicolas Dumazet's avatar Nicolas Dumazet

typo: the property is type_factory_method_id

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38681 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 72017bc3
......@@ -173,7 +173,7 @@ form.manage_addField(\n
\n
\n
# Then add the portal_type corresponding to the new object\n
object_portal_type_value = portal_types.newContent(id=object_portal_type_id, portal_type=\'Base Type\', factory_method_id=\'addXMLObject\')\n
object_portal_type_value = portal_types.newContent(id=object_portal_type_id, portal_type=\'Base Type\', type_factory_method_id=\'addXMLObject\')\n
\n
# Chain to edit_workflow\n
portal.portal_workflow.setChainForPortalTypes([object_portal_type_id],\n
......
1730
\ No newline at end of file
1731
\ 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