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
20c4023c
Commit
20c4023c
authored
Oct 14, 2020
by
Cédric Le Ninivin
Committed by
Cédric Le Ninivin
Feb 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_base: Delivery Movement update Causality calls updateCausalityState by activity when possible
parent
56c9c687
Changes
1
Show 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 @
20c4023c
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