Commit 0ae57f92 authored by Sebastien Robin's avatar Sebastien Robin

simulation: add another state needed for some projects

This mapping lack possibility of customization. We should later use a few
getPortalSomethingStateList to replace this hardcoded mapping
parent 790741a0
...@@ -44,6 +44,7 @@ from Products.ERP5.mixin.explainable import ExplainableMixin ...@@ -44,6 +44,7 @@ from Products.ERP5.mixin.explainable import ExplainableMixin
parent_to_movement_simulation_state = { parent_to_movement_simulation_state = {
'cancelled' : 'cancelled', 'cancelled' : 'cancelled',
'rejected' : 'cancelled',
'draft' : 'draft', 'draft' : 'draft',
'auto_planned' : 'auto_planned', 'auto_planned' : 'auto_planned',
'planned' : 'planned', 'planned' : 'planned',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment