Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin
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
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
wendelin
Commits
6181d1c9
Commit
6181d1c9
authored
Jan 10, 2024
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Device configuration portal type.
parent
367ed3a4
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
153 additions
and
2 deletions
+153
-2
bt5/erp5_wendelin/ActionTemplateItem/portal_types/Device%20Configuration/view.xml
...TemplateItem/portal_types/Device%20Configuration/view.xml
+81
-0
bt5/erp5_wendelin/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
...eAllowedContentTypeTemplateItem/allowed_content_types.xml
+3
-0
bt5/erp5_wendelin/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
...rtalTypePropertySheetTemplateItem/property_sheet_list.xml
+4
-0
bt5/erp5_wendelin/PortalTypeTemplateItem/portal_types/Device%20Configuration.xml
...lTypeTemplateItem/portal_types/Device%20Configuration.xml
+48
-0
bt5/erp5_wendelin/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
...rtalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+4
-0
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DeviceConfiguration_view.xml
...m/portal_skins/erp5_wendelin/DeviceConfiguration_view.xml
+6
-2
bt5/erp5_wendelin/bt/template_action_path_list
bt5/erp5_wendelin/bt/template_action_path_list
+1
-0
bt5/erp5_wendelin/bt/template_portal_type_allowed_content_type_list
...endelin/bt/template_portal_type_allowed_content_type_list
+1
-0
bt5/erp5_wendelin/bt/template_portal_type_id_list
bt5/erp5_wendelin/bt/template_portal_type_id_list
+1
-0
bt5/erp5_wendelin/bt/template_portal_type_property_sheet_list
...erp5_wendelin/bt/template_portal_type_property_sheet_list
+2
-0
bt5/erp5_wendelin/bt/template_portal_type_workflow_chain_list
...erp5_wendelin/bt/template_portal_type_workflow_chain_list
+2
-0
No files found.
bt5/erp5_wendelin/ActionTemplateItem/portal_types/Device%20Configuration/view.xml
0 → 100644
View file @
6181d1c9
<?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>
<none/>
</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>
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}/DeviceConfiguration_view
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_wendelin/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
View file @
6181d1c9
...
...
@@ -83,6 +83,9 @@
<portal_type
id=
"Data Transformation Module"
>
<item>
Data Transformation
</item>
</portal_type>
<portal_type
id=
"Device Configuration Module"
>
<item>
Device Configuration
</item>
</portal_type>
<portal_type
id=
"Device Configuration Type"
>
<item>
Action Information
</item>
<item>
Role Information
</item>
...
...
bt5/erp5_wendelin/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
View file @
6181d1c9
...
...
@@ -57,6 +57,10 @@
<portal_type
id=
"Data Transformation Resource Line"
>
<item>
Aggregated
</item>
</portal_type>
<portal_type
id=
"Device Configuration"
>
<item>
TextDocument
</item>
<item>
Url
</item>
</portal_type>
<portal_type
id=
"Device Configuration Type"
>
<item>
TextDocument
</item>
<item>
Url
</item>
...
...
bt5/erp5_wendelin/PortalTypeTemplateItem/portal_types/Device%20Configuration.xml
0 → 100644
View file @
6181d1c9
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Device Configuration 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>
<string>
A sample Device Configuration.
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Device Configuration
</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>
type_class
</string>
</key>
<value>
<string>
TextDocument
</string>
</value>
</item>
<item>
<key>
<string>
type_interface
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_wendelin/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
View file @
6181d1c9
...
...
@@ -95,6 +95,10 @@
<type>
Data Transformation
</type>
<workflow>
edit_workflow, validation_workflow
</workflow>
</chain>
<chain>
<type>
Device Configuration
</type>
<workflow>
edit_workflow, validation_workflow
</workflow>
</chain>
<chain>
<type>
Ingestion Policy
</type>
<workflow>
edit_workflow, validation_workflow
</workflow>
...
...
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DeviceConfiguration_view.xml
View file @
6181d1c9
...
...
@@ -16,6 +16,10 @@
<key>
<string>
action
</string>
</key>
<value>
<string>
Base_edit
</string>
</value>
</item>
<item>
<key>
<string>
action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
...
...
@@ -104,7 +108,7 @@
</item>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
MedaEventDataDescriptor
_view
</string>
</value>
<value>
<string>
DeviceConfiguration
_view
</string>
</value>
</item>
<item>
<key>
<string>
pt
</string>
</key>
...
...
@@ -120,7 +124,7 @@
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Meda Event Data Descriptor
</string>
</value>
<value>
<string>
Device Configuration
</string>
</value>
</item>
<item>
<key>
<string>
unicode_mode
</string>
</key>
...
...
bt5/erp5_wendelin/bt/template_action_path_list
View file @
6181d1c9
...
...
@@ -72,6 +72,7 @@ Device Configuration Type | role_view
Device Configuration Type | translation_view
Device Configuration Type | update_local_roles
Device Configuration Type | view
Device Configuration | view
Ingestion Policy Tool | add_ingestion_policy
Ingestion Policy Tool | view
Ingestion Policy | view
...
...
bt5/erp5_wendelin/bt/template_portal_type_allowed_content_type_list
View file @
6181d1c9
...
...
@@ -30,6 +30,7 @@ Data Supply | Data Supply Line
Data Transformation Module | Data Transformation
Data Transformation | Data Transformation Operation Line
Data Transformation | Data Transformation Resource Line
Device Configuration Module | Device Configuration
Device Configuration Type | Action Information
Device Configuration Type | Role Information
Ingestion Policy Tool | Ingestion Policy
...
...
bt5/erp5_wendelin/bt/template_portal_type_id_list
View file @
6181d1c9
...
...
@@ -46,6 +46,7 @@ Data Transformation
Data Transformation Module
Data Transformation Operation Line
Data Transformation Resource Line
Device Configuration
Device Configuration Module
Device Configuration Type
Ingestion Policy
...
...
bt5/erp5_wendelin/bt/template_portal_type_property_sheet_list
View file @
6181d1c9
...
...
@@ -22,6 +22,8 @@ Data Transformation Operation Line | Aggregated
Data Transformation Resource Line | Aggregated
Device Configuration Type | TextDocument
Device Configuration Type | Url
Device Configuration | TextDocument
Device Configuration | Url
Ingestion Policy | IngestionPolicy
Ingestion Policy | Reference
Ingestion Policy | Version
...
...
bt5/erp5_wendelin/bt/template_portal_type_workflow_chain_list
View file @
6181d1c9
...
...
@@ -44,6 +44,8 @@ Data Supply | data_supply_validation_workflow
Data Supply | edit_workflow
Data Transformation | edit_workflow
Data Transformation | validation_workflow
Device Configuration | edit_workflow
Device Configuration | validation_workflow
Ingestion Policy | edit_workflow
Ingestion Policy | validation_workflow
Progress Indicator | edit_workflow
...
...
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