Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin-telecom
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
1
Merge Requests
1
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
Paul Graydon
wendelin-telecom
Commits
b95a9bc5
Commit
b95a9bc5
authored
Sep 20, 2024
by
Paul Graydon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wendelin_telecom_configurator: Add bt5
parent
9d8ba356
Changes
39
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
2053 additions
and
0 deletions
+2053
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/business_configuration_module/wendelin_telecom_configuration.xml
...s_configuration_module/wendelin_telecom_configuration.xml
+141
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow.xml
...emplateItem/portal_workflow/wendelin_telecom_workflow.xml
+98
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/default_image.xml
...rtal_workflow/wendelin_telecom_workflow/default_image.xml
+201
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/state_customer_bt.xml
..._workflow/wendelin_telecom_workflow/state_customer_bt.xml
+40
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/state_download.xml
...tal_workflow/wendelin_telecom_workflow/state_download.xml
+40
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/state_draft.xml
...portal_workflow/wendelin_telecom_workflow/state_draft.xml
+20
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/state_end.xml
...m/portal_workflow/wendelin_telecom_workflow/state_end.xml
+32
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/state_standard_bt5.xml
...workflow/wendelin_telecom_workflow/state_standard_bt5.xml
+40
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/state_start.xml
...portal_workflow/wendelin_telecom_workflow/state_start.xml
+40
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/transition_finalize.xml
...orkflow/wendelin_telecom_workflow/transition_finalize.xml
+53
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/transition_install.xml
...workflow/wendelin_telecom_workflow/transition_install.xml
+53
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/transition_setup.xml
...l_workflow/wendelin_telecom_workflow/transition_setup.xml
+53
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/transition_setup_customer_bt5.xml
...ndelin_telecom_workflow/transition_setup_customer_bt5.xml
+61
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/transition_setup_standard_bt5.xml
...ndelin_telecom_workflow/transition_setup_standard_bt5.xml
+61
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_action.xml
...al_workflow/wendelin_telecom_workflow/variable_action.xml
+28
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_actor.xml
...tal_workflow/wendelin_telecom_workflow/variable_actor.xml
+28
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_client_id.xml
...workflow/wendelin_telecom_workflow/variable_client_id.xml
+89
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_comment.xml
...l_workflow/wendelin_telecom_workflow/variable_comment.xml
+28
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_configuration_save_url.xml
...elin_telecom_workflow/variable_configuration_save_url.xml
+91
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_displayed.xml
...workflow/wendelin_telecom_workflow/variable_displayed.xml
+91
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_error_message.xml
...flow/wendelin_telecom_workflow/variable_error_message.xml
+24
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_history.xml
...l_workflow/wendelin_telecom_workflow/variable_history.xml
+36
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_portal_type.xml
...rkflow/wendelin_telecom_workflow/variable_portal_type.xml
+28
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_time.xml
...rtal_workflow/wendelin_telecom_workflow/variable_time.xml
+28
-0
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_transition.xml
...orkflow/wendelin_telecom_workflow/variable_transition.xml
+91
-0
bt5/wendelin_telecom_configurator/SkinTemplateItem/portal_skins/wendelin_telecom_configurator.xml
...mplateItem/portal_skins/wendelin_telecom_configurator.xml
+26
-0
bt5/wendelin_telecom_configurator/SkinTemplateItem/portal_skins/wendelin_telecom_configurator/BusinessConfiguration_afterWendelinTelecomConfiguration.py
...usinessConfiguration_afterWendelinTelecomConfiguration.py
+36
-0
bt5/wendelin_telecom_configurator/SkinTemplateItem/portal_skins/wendelin_telecom_configurator/BusinessConfiguration_afterWendelinTelecomConfiguration.xml
...sinessConfiguration_afterWendelinTelecomConfiguration.xml
+62
-0
bt5/wendelin_telecom_configurator/SkinTemplateItem/portal_skins/wendelin_telecom_configurator/BusinessConfiguration_setupWendelinTelecomStandardBT5.py
.../BusinessConfiguration_setupWendelinTelecomStandardBT5.py
+36
-0
bt5/wendelin_telecom_configurator/SkinTemplateItem/portal_skins/wendelin_telecom_configurator/BusinessConfiguration_setupWendelinTelecomStandardBT5.xml
...BusinessConfiguration_setupWendelinTelecomStandardBT5.xml
+66
-0
bt5/wendelin_telecom_configurator/TestTemplateItem/portal_components/test.erp5.testWendelinTelecomConfigurator.py
...l_components/test.erp5.testWendelinTelecomConfigurator.py
+221
-0
bt5/wendelin_telecom_configurator/TestTemplateItem/portal_components/test.erp5.testWendelinTelecomConfigurator.xml
..._components/test.erp5.testWendelinTelecomConfigurator.xml
+102
-0
bt5/wendelin_telecom_configurator/bt/dependency_list
bt5/wendelin_telecom_configurator/bt/dependency_list
+1
-0
bt5/wendelin_telecom_configurator/bt/template_format_version
bt5/wendelin_telecom_configurator/bt/template_format_version
+1
-0
bt5/wendelin_telecom_configurator/bt/template_path_list
bt5/wendelin_telecom_configurator/bt/template_path_list
+3
-0
bt5/wendelin_telecom_configurator/bt/template_skin_id_list
bt5/wendelin_telecom_configurator/bt/template_skin_id_list
+1
-0
bt5/wendelin_telecom_configurator/bt/template_test_id_list
bt5/wendelin_telecom_configurator/bt/template_test_id_list
+1
-0
bt5/wendelin_telecom_configurator/bt/test_dependency_list
bt5/wendelin_telecom_configurator/bt/test_dependency_list
+1
-0
bt5/wendelin_telecom_configurator/bt/title
bt5/wendelin_telecom_configurator/bt/title
+1
-0
No files found.
bt5/wendelin_telecom_configurator/PathTemplateItem/business_configuration_module/wendelin_telecom_configuration.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Business Configuration"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_count
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
resource/portal_workflow/wendelin_telecom_workflow
</string>
<string>
current_state/portal_workflow/wendelin_telecom_workflow/state_start
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
wendelin_telecom_configuration
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Wendelin Telecom Configuration
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_count
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
source/portal_workflow/wendelin_telecom_workflow/state_start
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_after_script_id
</string>
</key>
<value>
<string>
BusinessConfiguration_afterWendelinTelecomConfiguration
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
wendelin_telecom_workflow
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
manager_bypass
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
state_variable
</string>
</key>
<value>
<string>
current_state
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Wendelin Telecom Workflow
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/default_image.xml
0 → 100644
View file @
b95a9bc5
This diff is collapsed.
Click to expand it.
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/state_customer_bt.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow State"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
destination/portal_workflow/wendelin_telecom_workflow/transition_setup
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
state_customer_bt
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Customer BT
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/state_download.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow State"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
destination/portal_workflow/wendelin_telecom_workflow/transition_finalize
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
state_download
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Download
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/state_draft.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow State"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
state_draft
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Draft
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/state_end.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow State"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
state_end
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
End
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/state_standard_bt5.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow State"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
destination/portal_workflow/wendelin_telecom_workflow/transition_setup_customer_bt5
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
state_standard_bt5
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Standard BT5
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/state_start.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow State"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
destination/portal_workflow/wendelin_telecom_workflow/transition_setup_standard_bt5
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
state_start
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Start
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/transition_finalize.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Transition"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/workflow
</string>
<string>
destination/portal_workflow/wendelin_telecom_workflow/state_end
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
guard_expression
</string>
</key>
<value>
<string>
python: True
</string>
</value>
</item>
<item>
<key>
<string>
guard_permission
</string>
</key>
<value>
<tuple>
<string>
Modify portal content
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
transition_finalize
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Finalize
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/transition_install.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Transition"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/workflow
</string>
<string>
destination/portal_workflow/wendelin_telecom_workflow/state_download
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
guard_expression
</string>
</key>
<value>
<string>
python: True
</string>
</value>
</item>
<item>
<key>
<string>
guard_permission
</string>
</key>
<value>
<tuple>
<string>
Modify portal content
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
transition_install
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Install
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/transition_setup.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Transition"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/workflow
</string>
<string>
destination/portal_workflow/wendelin_telecom_workflow/state_download
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
guard_expression
</string>
</key>
<value>
<string>
python: True
</string>
</value>
</item>
<item>
<key>
<string>
guard_permission
</string>
</key>
<value>
<tuple>
<string>
Modify portal content
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
transition_setup
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Setup
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/transition_setup_customer_bt5.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Transition"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
after_script_id
</string>
</key>
<value>
<string>
BusinessConfiguration_setupCustomerBT5
</string>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/workflow
</string>
<string>
destination/portal_workflow/wendelin_telecom_workflow/state_customer_bt
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
guard_expression
</string>
</key>
<value>
<string>
python: True
</string>
</value>
</item>
<item>
<key>
<string>
guard_permission
</string>
</key>
<value>
<tuple>
<string>
Modify portal content
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
transition_setup_customer_bt5
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Setup Customer BT5
</string>
</value>
</item>
<item>
<key>
<string>
trigger_type
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/transition_setup_standard_bt5.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Transition"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
after_script_id
</string>
</key>
<value>
<string>
BusinessConfiguration_setupWendelinTelecomStandardBT5
</string>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/workflow
</string>
<string>
destination/portal_workflow/wendelin_telecom_workflow/state_standard_bt5
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
guard_expression
</string>
</key>
<value>
<string>
python: True
</string>
</value>
</item>
<item>
<key>
<string>
guard_permission
</string>
</key>
<value>
<tuple>
<string>
Modify portal content
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
transition_setup_standard_bt5
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Setup Standard BT5
</string>
</value>
</item>
<item>
<key>
<string>
trigger_type
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_action.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Transition id
</string>
</value>
</item>
<item>
<key>
<string>
for_catalog
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variable_action
</string>
</value>
</item>
<item>
<key>
<string>
variable_default_expression
</string>
</key>
<value>
<string>
transition/getReference|nothing
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_actor.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Name of the user who performed transition
</string>
</value>
</item>
<item>
<key>
<string>
for_catalog
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variable_actor
</string>
</value>
</item>
<item>
<key>
<string>
variable_default_expression
</string>
</key>
<value>
<string>
user/getIdOrUserName
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_client_id.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
group_list
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
lines
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
permission_list
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
lines
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
role_list
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
lines
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
ID of the client.
</string>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variable_client_id
</string>
</value>
</item>
<item>
<key>
<string>
permission_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
role_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
client_id
</string>
</value>
</item>
<item>
<key>
<string>
variable_default_expression
</string>
</key>
<value>
<string>
python: request.get(\'client_id\', None)
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_comment.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Comment about transition
</string>
</value>
</item>
<item>
<key>
<string>
for_catalog
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variable_comment
</string>
</value>
</item>
<item>
<key>
<string>
variable_default_expression
</string>
</key>
<value>
<string>
python:state_change.kwargs.get(\'comment\', \'\')
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_configuration_save_url.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
group_list
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
lines
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
permission_list
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
lines
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
role_list
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
lines
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variable_configuration_save_url
</string>
</value>
</item>
<item>
<key>
<string>
permission_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
role_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
configuration_save_url
</string>
</value>
</item>
<item>
<key>
<string>
variable_default_expression
</string>
</key>
<value>
<string>
python: request.get(\'configuration_save_url\', None)
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_displayed.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
group_list
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
lines
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
permission_list
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
lines
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
role_list
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
lines
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
python: (object.transition is not None) and (object.transition.getTransitionFormId() not in [\'\', None])
</string>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variable_displayed
</string>
</value>
</item>
<item>
<key>
<string>
permission_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
role_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
displayed
</string>
</value>
</item>
<item>
<key>
<string>
variable_default_expression
</string>
</key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_error_message.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Error message if validation failed
</string>
</value>
</item>
<item>
<key>
<string>
for_catalog
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variable_error_message
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_history.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
automatic_update
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Provides access to workflow history
</string>
</value>
</item>
<item>
<key>
<string>
for_catalog
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variable_history
</string>
</value>
</item>
<item>
<key>
<string>
status_included
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
variable_default_expression
</string>
</key>
<value>
<string>
state_change/getHistory
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_portal_type.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
automatic_update
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Portal type (used as filter for worklists)
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variable_portal_type
</string>
</value>
</item>
<item>
<key>
<string>
status_included
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_time.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Transition timestamp
</string>
</value>
</item>
<item>
<key>
<string>
for_catalog
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variable_time
</string>
</value>
</item>
<item>
<key>
<string>
variable_default_expression
</string>
</key>
<value>
<string>
state_change/getDateTime
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/PathTemplateItem/portal_workflow/wendelin_telecom_workflow/variable_transition.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
group_list
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
lines
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
permission_list
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
lines
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
role_list
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
lines
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variable_transition
</string>
</value>
</item>
<item>
<key>
<string>
permission_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
role_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
transition
</string>
</value>
</item>
<item>
<key>
<string>
variable_default_expression
</string>
</key>
<value>
<string>
python: request.get(\'transition\', None)
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/SkinTemplateItem/portal_skins/wendelin_telecom_configurator.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Folder"
module=
"OFS.Folder"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
wendelin_telecom_configurator
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/SkinTemplateItem/portal_skins/wendelin_telecom_configurator/BusinessConfiguration_afterWendelinTelecomConfiguration.py
0 → 100644
View file @
b95a9bc5
from
erp5.component.module.Log
import
log
portal
=
context
.
getPortalObject
()
default_site_preference
=
getattr
(
portal
.
portal_preferences
,
'default_site_preference'
,
None
)
if
default_site_preference
is
not
None
:
if
default_site_preference
.
getPreferenceState
()
==
"disabled"
:
default_site_preference
.
enable
()
# Data Product Individual Variation preference
default_system_preference
=
getattr
(
portal
.
portal_preferences
,
'default_system_preference'
,
None
)
if
default_system_preference
is
not
None
:
default_system_preference
.
setPreferredDataProductIndividualVariationBaseCategory
(
'variation'
)
if
default_system_preference
.
getPreferenceState
()
==
"disabled"
:
default_system_preference
.
enable
()
# Update security roles from Wendelin Telecom security model
wendelin_telecom_security_model_business_template
=
portal
.
portal_templates
.
getInstalledBusinessTemplate
(
"wendelin_telecom_security"
,
strict
=
True
)
if
wendelin_telecom_security_model_business_template
is
not
None
:
for
portal_type
in
wendelin_telecom_security_model_business_template
.
getTemplatePortalTypeRoleList
():
portal_type_instance
=
getattr
(
portal
.
portal_types
,
portal_type
)
print
(
"Updated Role Mappings for: %s"
%
portal_type
)
portal_type_instance
.
updateRoleMapping
()
business_template
=
context
.
getSpecialiseValue
()
if
business_template
is
not
None
:
# Update local roles for modules which already exist
for
portal_type
in
business_template
.
getTemplatePortalTypeRoleList
():
module_list
=
portal
.
contentValues
(
filter
=
dict
(
portal_type
=
portal_type
)
)
for
module
in
module_list
:
module
.
updateLocalRolesOnSecurityGroups
()
print
(
"Updated Role Mappings for: %s (%s) "
%
(
module
.
getTitle
(),
module
.
getPortalType
()))
log
(
"%s"
%
printed
)
bt5/wendelin_telecom_configurator/SkinTemplateItem/portal_skins/wendelin_telecom_configurator/BusinessConfiguration_afterWendelinTelecomConfiguration.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
</klass>
<tuple>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
<global
name=
"object"
module=
"__builtin__"
/>
<none/>
</tuple>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
alter_preferences=True
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
BusinessConfiguration_afterWendelinTelecomConfiguration
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/SkinTemplateItem/portal_skins/wendelin_telecom_configurator/BusinessConfiguration_setupWendelinTelecomStandardBT5.py
0 → 100644
View file @
b95a9bc5
configuration_save
=
context
.
restrictedTraverse
(
configuration_save_url
)
bt5_installation_list
=
(
'erp5_full_text_mroonga_catalog'
,
'erp5_base'
,
'erp5_jquery_ui'
,
'erp5_ingestion_mysql_innodb_catalog'
,
'erp5_ingestion'
,
'erp5_stock_cache'
,
'erp5_web'
,
'erp5_dms'
,
'erp5_pdm'
,
'erp5_trade'
,
'erp5_project'
,
'erp5_simulation'
,
'erp5_trade'
,
'erp5_code_mirror'
,
'erp5_forge'
,
'erp5_hal_json_style'
,
'erp5_web_renderjs_ui'
,
'erp5_wendelin'
,
'erp5_wendelin_data_lake_ui'
,
'wendelin_telecom_base'
,
'wendelin_telecom_web'
,
'wendelin_telecom_security'
)
bt5_update_catalog
=
(
'erp5_ingestion_mysql_innodb_catalog'
,
'erp5_wendelin'
,)
for
name
in
bt5_installation_list
:
configuration_save
.
addConfigurationItem
(
"Standard BT5 Configurator Item"
,
title
=
name
,
bt5_id
=
name
,
update_catalog
=
(
name
in
bt5_update_catalog
),
install_dependency
=
True
,
)
bt5/wendelin_telecom_configurator/SkinTemplateItem/portal_skins/wendelin_telecom_configurator/BusinessConfiguration_setupWendelinTelecomStandardBT5.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
</klass>
<tuple>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
<global
name=
"object"
module=
"__builtin__"
/>
<none/>
</tuple>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
configuration_save_url=None, **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
BusinessConfiguration_setupWendelinTelecomStandardBT5
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Setup Wendelin business templates
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/TestTemplateItem/portal_components/test.erp5.testWendelinTelecomConfigurator.py
0 → 100644
View file @
b95a9bc5
##############################################################################
#
# Copyright (c) 2002-2024 Nexedi SA and Contributors. All Rights Reserved.
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly adviced to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
##############################################################################
import
random
import
transaction
from
Products.ERP5Type.tests.SecurityTestCase
import
SecurityTestCase
from
Products.ERP5Type.tests.utils
import
DummyMailHost
from
Products.ERP5Type.Utils
import
convertToUpperCase
from
AccessControl.SecurityManagement
import
getSecurityManager
,
setSecurityManager
class
TestWendelinTelecomConfigurator
(
SecurityTestCase
):
abort_transaction
=
0
def
clearCache
(
self
):
self
.
portal
.
portal_caches
.
clearAllCache
()
self
.
portal
.
portal_workflow
.
refreshWorklistCache
()
def
createAlarmStep
(
self
):
def
makeCallAlarm
(
alarm
):
def
callAlarm
(
*
args
,
**
kwargs
):
sm
=
getSecurityManager
()
self
.
login
()
try
:
alarm
.
activeSense
(
params
=
kwargs
)
self
.
commit
()
finally
:
setSecurityManager
(
sm
)
return
callAlarm
for
alarm
in
self
.
portal
.
portal_alarms
.
contentValues
():
if
alarm
.
isEnabled
():
setattr
(
self
,
'stepCall'
+
convertToUpperCase
(
alarm
.
getId
())
\
+
'Alarm'
,
makeCallAlarm
(
alarm
))
def
setupPortalAlarms
(
self
):
if
not
self
.
portal
.
portal_alarms
.
isSubscribed
():
self
.
portal
.
portal_alarms
.
subscribe
()
self
.
assertTrue
(
self
.
portal
.
portal_alarms
.
isSubscribed
())
def
beforeTearDown
(
self
):
self
.
tearDownPersistentDummyMailHost
()
if
self
.
abort_transaction
:
transaction
.
abort
()
def
setUpConfiguratorOnce
(
self
):
self
.
commit
()
self
.
portal
.
portal_templates
.
updateRepositoryBusinessTemplateList
(
repository_list
=
self
.
portal
.
portal_templates
.
getRepositoryList
()
)
self
.
commit
()
self
.
launchConfigurator
()
def
afterSetUp
(
self
):
self
.
login
()
self
.
createAlarmStep
()
# Execute the business configuration if not installed
business_configuration
=
self
.
getBusinessConfiguration
()
if
(
business_configuration
.
getSimulationState
()
!=
'installed'
):
self
.
portal
.
portal_caches
.
erp5_site_global_id
=
'%s'
%
random
.
random
()
self
.
portal
.
portal_caches
.
_p_changed
=
1
self
.
commit
()
self
.
portal
.
portal_caches
.
updateCache
()
self
.
bootstrapSite
()
self
.
commit
()
def
tearDownPersistentDummyMailHost
(
self
):
if
'MailHost'
in
self
.
portal
.
objectIds
():
self
.
portal
.
manage_delObjects
([
'MailHost'
])
self
.
portal
.
manage_addProduct
[
'MailHost'
].
manage_addMailHost
(
'MailHost'
)
self
.
commit
()
def
setUpPersistentDummyMailHost
(
self
):
if
'MailHost'
in
self
.
portal
.
objectIds
():
self
.
portal
.
manage_delObjects
([
'MailHost'
])
self
.
portal
.
_setObject
(
'MailHost'
,
DummyMailHost
(
'MailHost'
))
self
.
portal
.
email_from_address
=
'paul.graydon@nexedi.com'
self
.
portal
.
email_to_address
=
'paul.graydon@nexedi.com'
def
getBusinessConfiguration
(
self
):
return
self
.
portal
.
business_configuration_module
[
"wendelin_telecom_configuration"
]
def
launchConfigurator
(
self
):
self
.
logMessage
(
'Wendelin Telecom launchConfigurator'
)
self
.
login
()
# Create new Configuration
business_configuration
=
self
.
getBusinessConfiguration
()
response_dict
=
{}
configurator_options
=
{}
while
response_dict
.
get
(
"command"
,
"next"
)
!=
"install"
:
response_dict
=
self
.
portal
.
portal_configurator
.
_next
(
business_configuration
,
configurator_options
)
self
.
tic
()
self
.
portal
.
portal_configurator
.
startInstallation
(
business_configuration
,
REQUEST
=
self
.
portal
.
REQUEST
)
def
bootstrapSite
(
self
):
self
.
logMessage
(
'Wendelin Telecom bootstrapSite'
)
self
.
setupPortalAlarms
()
self
.
clearCache
()
self
.
tic
()
self
.
setUpConfiguratorOnce
()
self
.
tic
()
def
getBusinessTemplateList
(
self
):
"""
Install the business templates.
"""
return
[
'wendelin_telecom_configurator'
]
def
testConfiguredBusinessTemplateList
(
self
):
"""
Check that the list of installed Business Templates is correct.
"""
expected_business_template_list
=
[
'erp5_code_mirror'
,
'erp5_mysql_innodb_catalog'
,
'erp5_pdm'
,
'erp5_svg_editor'
,
'erp5_jquery_plugin_mbmenu'
,
'erp5_notebook'
,
'erp5_base'
,
'erp5_xhtml_style'
,
'erp5_knowledge_pad'
,
'erp5_jquery_ui'
,
'erp5_property_sheets'
,
'erp5_web_renderjs_ui'
,
'erp5_dms'
,
'erp5_jquery'
,
'erp5_ingestion_mysql_innodb_catalog'
,
'erp5_ingestion'
,
'erp5_forge'
,
'erp5_jquery_plugin_elastic'
,
'erp5_core_proxy_field_legacy'
,
'erp5_jquery_sheet_editor'
,
'erp5_big_file'
,
'erp5_jquery_plugin_colorpicker'
,
'erp5_web'
,
'erp5_project'
,
'erp5_jquery_plugin_sheet'
,
'erp5_json_type'
,
'erp5_core'
,
'erp5_font'
,
'erp5_configurator'
,
'erp5_hal_json_style'
,
'erp5_web_service'
,
'erp5_development_wizard'
,
'erp5_trade'
,
'erp5_wendelin_category'
,
'erp5_accounting'
,
'erp5_full_text_mroonga_catalog'
,
'erp5_oauth2_resource'
,
'erp5_wendelin'
,
'erp5_jquery_plugin_jqchart'
,
'erp5_stock_cache'
,
'erp5_simulation'
,
'erp5_crm'
,
'erp5_ui_test_core'
,
'erp5_l10n_fa'
,
'erp5_wendelin_data_lake_ui'
,
'erp5_ui_test'
,
'erp5_wendelin_data_lake_ingestion'
,
'erp5_credential'
,
'erp5_data_notebook'
,
'wendelin_telecom_configurator'
,
'wendelin_telecom_base'
,
'wendelin_telecom_web'
,
'wendelin_telecom_security'
]
self
.
assertSameSet
(
expected_business_template_list
,
self
.
portal
.
portal_templates
.
getInstalledBusinessTemplateTitleList
()
)
def
testPreference
(
self
):
default_site_preference
=
getattr
(
self
.
portal
.
portal_preferences
,
'default_site_preference'
,
None
)
self
.
assertEqual
(
default_site_preference
.
getPreferenceState
(),
'global'
)
self
.
assertEqual
(
self
.
portal
.
portal_preferences
.
getPreferredDataProductIndividualVariationBaseCategoryList
(),
[
'variation'
]
)
bt5/wendelin_telecom_configurator/TestTemplateItem/portal_components/test.erp5.testWendelinTelecomConfigurator.xml
0 → 100644
View file @
b95a9bc5
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testWendelinTelecomConfigurator
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testWendelinTelecomConfigurator
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/wendelin_telecom_configurator/bt/dependency_list
0 → 100644
View file @
b95a9bc5
erp5_configurator
\ No newline at end of file
bt5/wendelin_telecom_configurator/bt/template_format_version
0 → 100644
View file @
b95a9bc5
1
\ No newline at end of file
bt5/wendelin_telecom_configurator/bt/template_path_list
0 → 100644
View file @
b95a9bc5
business_configuration_module/wendelin_telecom_configuration
portal_workflow/wendelin_telecom_workflow
portal_workflow/wendelin_telecom_workflow/**
\ No newline at end of file
bt5/wendelin_telecom_configurator/bt/template_skin_id_list
0 → 100644
View file @
b95a9bc5
wendelin_telecom_configurator
\ No newline at end of file
bt5/wendelin_telecom_configurator/bt/template_test_id_list
0 → 100644
View file @
b95a9bc5
test.erp5.testWendelinTelecomConfigurator
\ No newline at end of file
bt5/wendelin_telecom_configurator/bt/test_dependency_list
0 → 100644
View file @
b95a9bc5
erp5_full_text_mroonga_catalog
\ No newline at end of file
bt5/wendelin_telecom_configurator/bt/title
0 → 100644
View file @
b95a9bc5
wendelin_telecom_configurator
\ 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