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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
erp5
Commits
8e59685e
Commit
8e59685e
authored
Oct 14, 2020
by
Cédric Le Ninivin
Committed by
Titouan Soulard
Mar 15, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_base: Delivery Movement update Causality calls updateCausalityState by activity when possible
parent
50d40267
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_movement_causality_interaction_workflow/script_DeliveryMovement_calculate.py
...interaction_workflow/script_DeliveryMovement_calculate.py
+6
-1
No files found.
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_movement_causality_interaction_workflow/script_DeliveryMovement_calculate.py
View file @
8e59685e
state_change
[
'object'
].
getExplanationValue
().
Delivery_calculate
()
explanation
=
state_change
[
'object'
].
getExplanationValue
()
if
explanation
.
getSimulationState
()
in
(
"draft"
,
"auto_planned"
):
# No need to do DeliveryCalculate at once
explanation
.
activate
().
Delivery_calculate
()
else
:
explanation
.
Delivery_calculate
()
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