Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tomáš Peterka
erp5
Commits
52e2322c
Commit
52e2322c
authored
Nov 08, 2017
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_post: Add Text Post
parent
3becf829
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
173 additions
and
6 deletions
+173
-6
bt5/erp5_post/ActionTemplateItem/portal_types/Text%20Post/view.xml
...post/ActionTemplateItem/portal_types/Text%20Post/view.xml
+83
-0
bt5/erp5_post/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
...eAllowedContentTypeTemplateItem/allowed_content_types.xml
+1
-0
bt5/erp5_post/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
...PortalTypeBaseCategoryTemplateItem/base_category_list.xml
+4
-0
bt5/erp5_post/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
...rtalTypePropertySheetTemplateItem/property_sheet_list.xml
+3
-0
bt5/erp5_post/PortalTypeTemplateItem/portal_types/Text%20Post.xml
..._post/PortalTypeTemplateItem/portal_types/Text%20Post.xml
+64
-0
bt5/erp5_post/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
...rtalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+4
-0
bt5/erp5_post/bt/template_action_path_list
bt5/erp5_post/bt/template_action_path_list
+2
-1
bt5/erp5_post/bt/template_portal_type_allowed_content_type_list
...p5_post/bt/template_portal_type_allowed_content_type_list
+2
-1
bt5/erp5_post/bt/template_portal_type_base_category_list
bt5/erp5_post/bt/template_portal_type_base_category_list
+3
-1
bt5/erp5_post/bt/template_portal_type_id_list
bt5/erp5_post/bt/template_portal_type_id_list
+2
-1
bt5/erp5_post/bt/template_portal_type_property_sheet_list
bt5/erp5_post/bt/template_portal_type_property_sheet_list
+2
-1
bt5/erp5_post/bt/template_portal_type_workflow_chain_list
bt5/erp5_post/bt/template_portal_type_workflow_chain_list
+3
-1
No files found.
bt5/erp5_post/ActionTemplateItem/portal_types/Text%20Post/view.xml
0 → 100644
View file @
52e2322c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_view
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_view
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
view
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
1.0
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
View
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/HTMLPost_view
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_post/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
View file @
52e2322c
<allowed_content_type_list>
<portal_type
id=
"Post Module"
>
<item>
HTML Post
</item>
<item>
Text Post
</item>
</portal_type>
</allowed_content_type_list>
\ No newline at end of file
bt5/erp5_post/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
View file @
52e2322c
...
...
@@ -6,4 +6,8 @@
<portal_type
id=
"Post Module"
>
<item>
business_application
</item>
</portal_type>
<portal_type
id=
"Text Post"
>
<item>
follow_up
</item>
<item>
predecessor
</item>
</portal_type>
</base_category_list>
\ No newline at end of file
bt5/erp5_post/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
View file @
52e2322c
...
...
@@ -2,4 +2,7 @@
<portal_type
id=
"HTML Post"
>
<item>
Task
</item>
</portal_type>
<portal_type
id=
"Text Post"
>
<item>
Task
</item>
</portal_type>
</property_sheet_list>
\ No newline at end of file
bt5/erp5_post/PortalTypeTemplateItem/portal_types/Text%20Post.xml
0 → 100644
View file @
52e2322c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Base Type"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
content_icon
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
factory
</string>
</key>
<value>
<string>
addXMLObject
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Text Post
</string>
</value>
</item>
<item>
<key>
<string>
init_script
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
permission
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Base Type
</string>
</value>
</item>
<item>
<key>
<string>
type_class
</string>
</key>
<value>
<string>
TextDocument
</string>
</value>
</item>
<item>
<key>
<string>
type_interface
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
type_mixin
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_post/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
View file @
52e2322c
...
...
@@ -3,4 +3,8 @@
<type>
HTML Post
</type>
<workflow>
edit_workflow, post_workflow
</workflow>
</chain>
<chain>
<type>
Text Post
</type>
<workflow>
edit_workflow, post_workflow
</workflow>
</chain>
</workflow_chain>
\ No newline at end of file
bt5/erp5_post/bt/template_action_path_list
View file @
52e2322c
HTML Post | view
Post Module | view
\ No newline at end of file
Post Module | view
Text Post | view
\ No newline at end of file
bt5/erp5_post/bt/template_portal_type_allowed_content_type_list
View file @
52e2322c
Post Module | HTML Post
\ No newline at end of file
Post Module | HTML Post
Post Module | Text Post
\ No newline at end of file
bt5/erp5_post/bt/template_portal_type_base_category_list
View file @
52e2322c
HTML Post | follow_up
HTML Post | predecessor
Post Module | business_application
\ No newline at end of file
Post Module | business_application
Text Post | follow_up
Text Post | predecessor
\ No newline at end of file
bt5/erp5_post/bt/template_portal_type_id_list
View file @
52e2322c
HTML Post
Post Module
\ No newline at end of file
Post Module
Text Post
\ No newline at end of file
bt5/erp5_post/bt/template_portal_type_property_sheet_list
View file @
52e2322c
HTML Post | Task
\ No newline at end of file
HTML Post | Task
Text Post | Task
\ No newline at end of file
bt5/erp5_post/bt/template_portal_type_workflow_chain_list
View file @
52e2322c
HTML Post | edit_workflow
HTML Post | post_workflow
\ No newline at end of file
HTML Post | post_workflow
Text Post | edit_workflow
Text Post | post_workflow
\ 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