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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
ccdff868
Commit
ccdff868
authored
Mar 25, 2021
by
Arnaud Fontaine
Committed by
Romain Courteaud
Mar 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SQUASH configurator
parent
57354873
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
12 deletions
+8
-12
bt5/erp5_configurator/ExtensionTemplateItem/portal_components/extension.erp5.migrateWorkflowModuleToPortalWorkflow.py
...s/extension.erp5.migrateWorkflowModuleToPortalWorkflow.py
+2
-6
bt5/erp5_configurator_ebusiness_lotse/WorkflowTemplateItem/portal_workflow/ebusiness_lotse_configuration_workflow.xml
...ortal_workflow/ebusiness_lotse_configuration_workflow.xml
+1
-1
bt5/erp5_configurator_maxma_demo/WorkflowTemplateItem/portal_workflow/maxma_demo_configuration_workflow.xml
...tem/portal_workflow/maxma_demo_configuration_workflow.xml
+1
-1
bt5/erp5_configurator_run_my_doc/WorkflowTemplateItem/portal_workflow/run_my_doc_configuration_workflow.xml
...tem/portal_workflow/run_my_doc_configuration_workflow.xml
+1
-1
bt5/erp5_configurator_standard/WorkflowTemplateItem/portal_workflow/erp5_consulting_workflow.xml
...TemplateItem/portal_workflow/erp5_consulting_workflow.xml
+1
-1
bt5/erp5_configurator_standard/WorkflowTemplateItem/portal_workflow/erp5_standard_workflow.xml
...owTemplateItem/portal_workflow/erp5_standard_workflow.xml
+1
-1
bt5/erp5_configurator_standard/WorkflowTemplateItem/portal_workflow/officejs_sdk_workflow.xml
...lowTemplateItem/portal_workflow/officejs_sdk_workflow.xml
+1
-1
No files found.
bt5/erp5_configurator/ExtensionTemplateItem/portal_components/extension.erp5.migrateWorkflowModuleToPortalWorkflow.py
View file @
ccdff868
...
...
@@ -13,15 +13,14 @@ def migrateToERP5Workflow(portal_workflow, configurator_workflow):
for
o
in
category_value_list
]
workflow
=
portal_workflow
.
newContent
(
id
=
workflow_id
,
portal_type
=
'Workflow'
,
reference
=
configurator_workflow
.
getId
(),
comment
=
configurator_workflow
.
getComment
(),
description
=
configurator_workflow
.
getDescription
(),
state_variable
=
configurator_workflow
.
getProperty
(
'state_variable_name'
),
source_list
=
getCategoryList
(
'state_'
,
configurator_workflow
.
getSourceValueList
()),
# ConfiguratorWorkflow PropertySheet
configuration_after_script_id
=
configurator_workflow
.
getConfigurationAfterScriptId
(),
state_base_category
=
configurator_workflow
.
getStateBaseCategory
())
configuration_after_script_id
=
configurator_workflow
.
getConfigurationAfterScriptId
())
for
business_configuration
in
configurator_workflow
.
getRelatedValueList
(
portal_type
=
'Business Configuration'
):
business_configuration
.
setResourceValue
(
workflow
)
...
...
@@ -32,7 +31,6 @@ def migrateToERP5Workflow(portal_workflow, configurator_workflow):
if
subobject
.
getPortalType
()
==
'State'
:
state
=
workflow
.
newContent
(
id
=
'state_'
+
reference
,
portal_type
=
'State'
,
reference
=
reference
,
title
=
title
,
...
...
@@ -45,7 +43,6 @@ def migrateToERP5Workflow(portal_workflow, configurator_workflow):
elif
subobject
.
getPortalType
()
==
'Transition'
:
workflow
.
newContent
(
id
=
'transition_'
+
reference
,
portal_type
=
'Transition'
,
reference
=
reference
,
title
=
title
,
...
...
@@ -70,7 +67,6 @@ def migrateToERP5Workflow(portal_workflow, configurator_workflow):
continue
workflow
.
newContent
(
id
=
'variable_'
+
reference
,
portal_type
=
'Workflow Variable'
,
reference
=
reference
,
title
=
title
,
...
...
bt5/erp5_configurator_ebusiness_lotse/WorkflowTemplateItem/portal_workflow/ebusiness_lotse_configuration_workflow.xml
View file @
ccdff868
...
...
@@ -60,7 +60,7 @@
</item>
<item>
<key>
<string>
state_variable
</string>
</key>
<value>
<string>
simulation
_state
</string>
</value>
<value>
<string>
current
_state
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_configurator_maxma_demo/WorkflowTemplateItem/portal_workflow/maxma_demo_configuration_workflow.xml
View file @
ccdff868
...
...
@@ -60,7 +60,7 @@
</item>
<item>
<key>
<string>
state_variable
</string>
</key>
<value>
<string>
simulation
_state
</string>
</value>
<value>
<string>
current
_state
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_configurator_run_my_doc/WorkflowTemplateItem/portal_workflow/run_my_doc_configuration_workflow.xml
View file @
ccdff868
...
...
@@ -58,7 +58,7 @@
</item>
<item>
<key>
<string>
state_variable
</string>
</key>
<value>
<string>
simulation
_state
</string>
</value>
<value>
<string>
current
_state
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_configurator_standard/WorkflowTemplateItem/portal_workflow/erp5_consulting_workflow.xml
View file @
ccdff868
...
...
@@ -58,7 +58,7 @@
</item>
<item>
<key>
<string>
state_variable
</string>
</key>
<value>
<string>
simulation
_state
</string>
</value>
<value>
<string>
current
_state
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_configurator_standard/WorkflowTemplateItem/portal_workflow/erp5_standard_workflow.xml
View file @
ccdff868
...
...
@@ -60,7 +60,7 @@
</item>
<item>
<key>
<string>
state_variable
</string>
</key>
<value>
<string>
simulation
_state
</string>
</value>
<value>
<string>
current
_state
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_configurator_standard/WorkflowTemplateItem/portal_workflow/officejs_sdk_workflow.xml
View file @
ccdff868
...
...
@@ -60,7 +60,7 @@
</item>
<item>
<key>
<string>
state_variable
</string>
</key>
<value>
<string>
simulation
_state
</string>
</value>
<value>
<string>
current
_state
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
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