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
Titouan Soulard
slapos.core
Commits
031198fd
Commit
031198fd
authored
Feb 20, 2024
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_accounting: archive Open Order as soon as Item is invalidated
parent
3c4e7c61
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
2 deletions
+19
-2
master/bt5/slapos_accounting/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
...rtalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+8
-0
master/bt5/slapos_accounting/WorkflowTemplateItem/portal_workflow/slapos_accounting_interaction_workflow/interaction_Item_invalidate.xml
...ting_interaction_workflow/interaction_Item_invalidate.xml
+9
-2
master/bt5/slapos_accounting/bt/template_portal_type_workflow_chain_list
...os_accounting/bt/template_portal_type_workflow_chain_list
+2
-0
No files found.
master/bt5/slapos_accounting/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
View file @
031198fd
...
...
@@ -11,6 +11,10 @@
<type>
Cloud Contract Line
</type>
<workflow>
edit_workflow
</workflow>
</chain>
<chain>
<type>
Compute Node
</type>
<workflow>
slapos_accounting_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Computer Consumption TioXML File
</type>
<workflow>
document_conversion_interaction_workflow, document_publication_workflow, edit_workflow
</workflow>
...
...
@@ -27,6 +31,10 @@
<type>
Open Sale Order
</type>
<workflow>
slapos_accounting_interaction_workflow, slapos_simulation_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Project
</type>
<workflow>
slapos_accounting_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Sale Invoice Transaction
</type>
<workflow>
slapos_accounting_interaction_workflow, slapos_simulation_interaction_workflow
</workflow>
...
...
master/bt5/slapos_accounting/WorkflowTemplateItem/portal_workflow/slapos_accounting_interaction_workflow/interaction_I
nstanceTree_changePromiseSt
ate.xml
→
master/bt5/slapos_accounting/WorkflowTemplateItem/portal_workflow/slapos_accounting_interaction_workflow/interaction_I
tem_invalid
ate.xml
View file @
031198fd
...
...
@@ -22,7 +22,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
interaction_I
nstanceTree_changePromiseSt
ate
</string>
</value>
<value>
<string>
interaction_I
tem_invalid
ate
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
...
...
@@ -33,6 +33,8 @@
<value>
<tuple>
<string>
Instance Tree
</string>
<string>
Compute Node
</string>
<string>
Project
</string>
</tuple>
</value>
</item>
...
...
@@ -46,11 +48,16 @@
<key>
<string>
temporary_document_disallowed
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Item_invalidate
</string>
</value>
</item>
<item>
<key>
<string>
trigger_method_id
</string>
</key>
<value>
<tuple>
<string>
requestDestroy
</string>
<string>
invalidate
</string>
<string>
archive
</string>
</tuple>
</value>
</item>
...
...
master/bt5/slapos_accounting/bt/template_portal_type_workflow_chain_list
View file @
031198fd
...
...
@@ -2,6 +2,7 @@ Applied Rule | slapos_simulation_interaction_workflow
Cloud Contract Line | edit_workflow
Cloud Contract | edit_workflow
Cloud Contract | item_workflow
Compute Node | slapos_accounting_interaction_workflow
Computer Consumption TioXML File | document_conversion_interaction_workflow
Computer Consumption TioXML File | document_publication_workflow
Computer Consumption TioXML File | edit_workflow
...
...
@@ -9,6 +10,7 @@ Hosting Subscription | slapos_accounting_interaction_workflow
Instance Tree | slapos_accounting_interaction_workflow
Open Sale Order | slapos_accounting_interaction_workflow
Open Sale Order | slapos_simulation_interaction_workflow
Project | slapos_accounting_interaction_workflow
Sale Invoice Transaction | slapos_accounting_interaction_workflow
Sale Invoice Transaction | slapos_simulation_interaction_workflow
Sale Packing List | slapos_accounting_interaction_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