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
Klaus Wölfel
slapos.core
Commits
64ac17e1
Commit
64ac17e1
authored
Oct 26, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate friend allocation interaction.
parent
099de512
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
14 deletions
+15
-14
master/bt5/slapos_cloud/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
...rtalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+1
-1
master/bt5/slapos_cloud/WorkflowTemplateItem/portal_workflow/slapos_cloud_interaction_workflow/interactions/Computer_setSubjectList.xml
...raction_workflow/interactions/Computer_setSubjectList.xml
+7
-7
master/bt5/slapos_cloud/WorkflowTemplateItem/portal_workflow/slapos_cloud_interaction_workflow/scripts/Computer_updateDestinationSection.xml
...on_workflow/scripts/Computer_updateDestinationSection.xml
+5
-5
master/bt5/slapos_cloud/bt/template_portal_type_workflow_chain_list
.../slapos_cloud/bt/template_portal_type_workflow_chain_list
+1
-0
master/bt5/vifib_erp5/bt/revision
master/bt5/vifib_erp5/bt/revision
+1
-1
No files found.
master/bt5/slapos_cloud/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
View file @
64ac17e1
<workflow_chain>
<workflow_chain>
<chain>
<chain>
<type>
Computer
</type>
<type>
Computer
</type>
<workflow>
computer_slap_interface_workflow
</workflow>
<workflow>
computer_slap_interface_workflow
, slapos_cloud_interaction_workflow
</workflow>
</chain>
</chain>
<chain>
<chain>
<type>
Computer Partition
</type>
<type>
Computer Partition
</type>
...
...
master/bt5/
vifib_erp5/WorkflowTemplateItem/portal_workflow/local_permission_vifib_interaction_workflow/interactions/SaleTradeCondition
_setSubjectList.xml
→
master/bt5/
slapos_cloud/WorkflowTemplateItem/portal_workflow/slapos_cloud_interaction_workflow/interactions/Computer
_setSubjectList.xml
View file @
64ac17e1
...
@@ -27,15 +27,15 @@
...
@@ -27,15 +27,15 @@
<item>
<item>
<key>
<string>
after_script_name
</string>
</key>
<key>
<string>
after_script_name
</string>
</key>
<value>
<value>
<tuple/>
<list>
<string>
Computer_updateDestinationSection
</string>
</list>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
before_commit_script_name
</string>
</key>
<key>
<string>
before_commit_script_name
</string>
</key>
<value>
<value>
<list>
<tuple/>
<string>
SaleTradeCondition_updateDestinationSection
</string>
</list>
</value>
</value>
</item>
</item>
<item>
<item>
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
SaleTradeCondition
_setSubjectList
</string>
</value>
<value>
<string>
Computer
_setSubjectList
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
method_id
</string>
</key>
<key>
<string>
method_id
</string>
</key>
...
@@ -62,13 +62,13 @@
...
@@ -62,13 +62,13 @@
</item>
</item>
<item>
<item>
<key>
<string>
once_per_transaction
</string>
</key>
<key>
<string>
once_per_transaction
</string>
</key>
<value>
<int>
1
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
portal_type_filter
</string>
</key>
<key>
<string>
portal_type_filter
</string>
</key>
<value>
<value>
<list>
<list>
<string>
Sale Trade Condition
</string>
<string>
Computer
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
...
master/bt5/
vifib_erp5/WorkflowTemplateItem/portal_workflow/local_permission_vifib_interaction_workflow/scripts/SaleTradeCondition
_updateDestinationSection.xml
→
master/bt5/
slapos_cloud/WorkflowTemplateItem/portal_workflow/slapos_cloud_interaction_workflow/scripts/Computer
_updateDestinationSection.xml
View file @
64ac17e1
...
@@ -50,17 +50,17 @@
...
@@ -50,17 +50,17 @@
</item>
</item>
<item>
<item>
<key>
<string>
_body
</string>
</key>
<key>
<string>
_body
</string>
</key>
<value>
<string>
sale_trade_condition
= state_change[\'object\']\n
<value>
<string>
computer
= state_change[\'object\']\n
portal =
sale_trade_condition
.getPortalObject()\n
portal =
computer
.getPortalObject()\n
\n
\n
subject_list =
sale_trade_condition
.getSubjectList()\n
subject_list =
computer
.getSubjectList()\n
person_list = []\n
person_list = []\n
\n
\n
for subject in subject_list:\n
for subject in subject_list:\n
if subject:\n
if subject:\n
person_list.extend([x.getObject() for x in portal.portal_catalog(validation_state="validated", portal_type="Person", default_email_text=subject)])\n
person_list.extend([x.getObject() for x in portal.portal_catalog(validation_state="validated", portal_type="Person", default_email_text=subject)])\n
\n
\n
sale_trade_condition
.edit(destination_section_value_list=person_list)\n
computer
.edit(destination_section_value_list=person_list)\n
</string>
</value>
</string>
</value>
</item>
</item>
<item>
<item>
...
@@ -77,7 +77,7 @@ sale_trade_condition.edit(destination_section_value_list=person_list)\n
...
@@ -77,7 +77,7 @@ sale_trade_condition.edit(destination_section_value_list=person_list)\n
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
SaleTradeCondition
_updateDestinationSection
</string>
</value>
<value>
<string>
Computer
_updateDestinationSection
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/slapos_cloud/bt/template_portal_type_workflow_chain_list
View file @
64ac17e1
Computer Partition | computer_partition_slap_interface_workflow
Computer Partition | computer_partition_slap_interface_workflow
Computer | computer_slap_interface_workflow
Computer | computer_slap_interface_workflow
Computer | slapos_cloud_interaction_workflow
Hosting Subscription | edit_workflow
Hosting Subscription | edit_workflow
Hosting Subscription | hosting_subscription_workflow
Hosting Subscription | hosting_subscription_workflow
Hosting Subscription | instance_slap_interface_workflow
Hosting Subscription | instance_slap_interface_workflow
...
...
master/bt5/vifib_erp5/bt/revision
View file @
64ac17e1
529
530
\ 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