Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Tyagov
slapos.core
Commits
6291a974
Commit
6291a974
authored
Feb 26, 2014
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename Form portal_type to ERP5 Form.
This allow bootstraping of the ERP5 site.
parent
7ced25ca
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
master/bt5/slapos_jio/PortalTypeTemplateItem/portal_types/ERP5%20Form.xml
...s_jio/PortalTypeTemplateItem/portal_types/ERP5%20Form.xml
+1
-1
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/erp5_hal_json_style/ERP5Document_getHateoas.xml
...tal_skins/erp5_hal_json_style/ERP5Document_getHateoas.xml
+2
-2
master/bt5/slapos_jio/bt/revision
master/bt5/slapos_jio/bt/revision
+1
-1
master/bt5/slapos_jio/bt/template_portal_type_id_list
master/bt5/slapos_jio/bt/template_portal_type_id_list
+1
-1
No files found.
master/bt5/slapos_jio/PortalTypeTemplateItem/portal_types/Form.xml
→
master/bt5/slapos_jio/PortalTypeTemplateItem/portal_types/
ERP5%20
Form.xml
View file @
6291a974
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
Form
</string>
</value>
<value>
<string>
ERP5
Form
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
init_script
</string>
</key>
<key>
<string>
init_script
</string>
</key>
...
...
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/erp5_hal_json_style/ERP5Document_getHateoas.xml
View file @
6291a974
...
@@ -81,7 +81,7 @@ default_document_uri_template = url_template_dict["jio_get_template"]\n
...
@@ -81,7 +81,7 @@ default_document_uri_template = url_template_dict["jio_get_template"]\n
\n
\n
def getFormRelativeUrl(form):\n
def getFormRelativeUrl(form):\n
return portal.portal_catalog(\n
return portal.portal_catalog(\n
portal_type="Form",\n
portal_type="
ERP5
Form",\n
uid=form.getUid(),\n
uid=form.getUid(),\n
id=form.getId(),\n
id=form.getId(),\n
limit=1,\n
limit=1,\n
...
@@ -776,7 +776,7 @@ elif (mode == \'root\') or (mode == \'traverse\'):\n
...
@@ -776,7 +776,7 @@ elif (mode == \'root\') or (mode == \'traverse\'):\n
\'method\': \'POST\'\n
\'method\': \'POST\'\n
}\n
}\n
\n
\n
elif traversed_document_portal_type == "Form":\n
elif traversed_document_portal_type == "
ERP5
Form":\n
renderFormDefinition(traversed_document, result_dict)\n
renderFormDefinition(traversed_document, result_dict)\n
\n
\n
# Define document action\n
# Define document action\n
...
...
master/bt5/slapos_jio/bt/revision
View file @
6291a974
8
9
\ No newline at end of file
\ No newline at end of file
master/bt5/slapos_jio/bt/template_portal_type_id_list
View file @
6291a974
Form
ERP5 Form
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment