Commit 6291a974 authored by Romain Courteaud's avatar Romain Courteaud

Rename Form portal_type to ERP5 Form.

This allow bootstraping of the ERP5 site.
parent 7ced25ca
......@@ -16,7 +16,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Form</string> </value>
<value> <string>ERP5 Form</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
......
......@@ -81,7 +81,7 @@ default_document_uri_template = url_template_dict["jio_get_template"]\n
\n
def getFormRelativeUrl(form):\n
return portal.portal_catalog(\n
portal_type="Form",\n
portal_type="ERP5 Form",\n
uid=form.getUid(),\n
id=form.getId(),\n
limit=1,\n
......@@ -776,7 +776,7 @@ elif (mode == \'root\') or (mode == \'traverse\'):\n
\'method\': \'POST\'\n
}\n
\n
elif traversed_document_portal_type == "Form":\n
elif traversed_document_portal_type == "ERP5 Form":\n
renderFormDefinition(traversed_document, result_dict)\n
\n
# Define document action\n
......
8
\ No newline at end of file
9
\ No newline at end of file
Form
\ No newline at end of file
ERP5 Form
\ 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