diff --git a/bt5/erp5_simulation/ActionTemplateItem/portal_types/Start%20Date%20Replacement%20Solver/configuration.xml b/bt5/erp5_simulation/ActionTemplateItem/portal_types/Start%20Date%20Replacement%20Solver/configuration.xml new file mode 100644 index 0000000000000000000000000000000000000000..4c964274bc47a91404890d8aa391201dadb38698 --- /dev/null +++ b/bt5/erp5_simulation/ActionTemplateItem/portal_types/Start%20Date%20Replacement%20Solver/configuration.xml @@ -0,0 +1,91 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>action_type/object_view</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>configuration</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Action Information</string> </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>2.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Configuration</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Solver_viewConfiguration</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_simulation/ActionTemplateItem/portal_types/Start%20Date%20Replacement%20Solver/view.xml b/bt5/erp5_simulation/ActionTemplateItem/portal_types/Start%20Date%20Replacement%20Solver/view.xml new file mode 100644 index 0000000000000000000000000000000000000000..f4a6ec433a2d26ee6181ac5a4761afd049238835 --- /dev/null +++ b/bt5/erp5_simulation/ActionTemplateItem/portal_types/Start%20Date%20Replacement%20Solver/view.xml @@ -0,0 +1,91 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>action_type/object_view</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Action Information</string> </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>1.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>View</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/TargetSolver_view</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_simulation/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_simulation/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml index e465956468232e5b66371d52459937c6adb0148c..227ad0d3f6b361c807ec21eb868919d34f1499fb 100644 --- a/bt5/erp5_simulation/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml +++ b/bt5/erp5_simulation/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml @@ -18,6 +18,7 @@ <item>Resource Adoption Solver</item> <item>Resource Replacement Solver</item> <item>Solver Decision</item> + <item>Start Date Replacement Solver</item> </portal_type> <portal_type id="Solver Tool"> <item>Solver Process</item> diff --git a/bt5/erp5_simulation/PortalTypeTemplateItem/portal_types/Start%20Date%20Replacement%20Solver.xml b/bt5/erp5_simulation/PortalTypeTemplateItem/portal_types/Start%20Date%20Replacement%20Solver.xml new file mode 100644 index 0000000000000000000000000000000000000000..5201ce6654725cffd1c95c3f674f1b72dca98aa9 --- /dev/null +++ b/bt5/erp5_simulation/PortalTypeTemplateItem/portal_types/Start%20Date%20Replacement%20Solver.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="SolverTypeInformation" module="Products.ERP5Type.Document.SolverTypeInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>acquire_local_roles</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>configuration_form_id</string> </key> + <value> <string>Solver_viewConfiguration</string> </value> + </item> + <item> + <key> <string>configuration_property_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>delivery_solver</string> </key> + <value> + <tuple> + <string>FIFO</string> + <string>LIFO</string> + <string>MinPrice</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>The Start Date Replacement Solver forces the source of delivery related simulation movements to the start_date value of the delivery movement, yet preserving its original value as a recordable property.</string> </value> + </item> + <item> + <key> <string>factory</string> </key> + <value> <string>addAcceptSolver</string> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <tuple> + <string>target_solver</string> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Start Date Replacement Solver</string> </value> + </item> + <item> + <key> <string>init_script</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>permission</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Solver Type</string> </value> + </item> + <item> + <key> <string>solver_action_title</string> </key> + <value> <string>Replace Start Date</string> </value> + </item> + <item> + <key> <string>tested_property</string> </key> + <value> <string>start_date</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_simulation/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_simulation/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml index d2e6ba52874966553b467808f50993c7d96570d0..58b1c227276dda10cc8708a372d56fb67d1d92e5 100644 --- a/bt5/erp5_simulation/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml +++ b/bt5/erp5_simulation/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml @@ -47,6 +47,10 @@ <type>Resource Replacement Solver</type> <workflow>solver_workflow</workflow> </chain> + <chain> + <type>Start Date Replacement Solver</type> + <workflow>solver_workflow</workflow> + </chain> <chain> <type>String Divergence Tester</type> <workflow>edit_workflow</workflow> diff --git a/bt5/erp5_simulation/bt/revision b/bt5/erp5_simulation/bt/revision index 72f523f36edb05f0f59e02607fd52a844817ed85..86ee83a4a26867a79e0a5a8948153cff8f4cf9a4 100644 --- a/bt5/erp5_simulation/bt/revision +++ b/bt5/erp5_simulation/bt/revision @@ -1 +1 @@ -39 \ No newline at end of file +40 \ No newline at end of file diff --git a/bt5/erp5_simulation/bt/template_action_path_list b/bt5/erp5_simulation/bt/template_action_path_list index c14f3842a5408e2410585d2f025fdac704de968b..faa665b5b4c6dcd13711b05939dbc5283c2dc8b6 100644 --- a/bt5/erp5_simulation/bt/template_action_path_list +++ b/bt5/erp5_simulation/bt/template_action_path_list @@ -33,6 +33,8 @@ Solver Type | solver_view Solver Type | translation_view Solver Type | update_local_roles Solver Type | view +Start Date Replacement Solver | configuration +Start Date Replacement Solver | view String Divergence Tester | configuration String Divergence Tester | predicate String Divergence Tester | view diff --git a/bt5/erp5_simulation/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_simulation/bt/template_portal_type_allowed_content_type_list index 51386a37341224e48bb69c33e759b741d7aaa3de..6a3ab31615c7d6be33573e42e9a0d9b1245eb72a 100644 --- a/bt5/erp5_simulation/bt/template_portal_type_allowed_content_type_list +++ b/bt5/erp5_simulation/bt/template_portal_type_allowed_content_type_list @@ -12,6 +12,7 @@ Solver Process | Quantity Split Solver Solver Process | Resource Adoption Solver Solver Process | Resource Replacement Solver Solver Process | Solver Decision +Solver Process | Start Date Replacement Solver Solver Tool | Solver Process Solver Type | Action Information Solver Type | Role Information diff --git a/bt5/erp5_simulation/bt/template_portal_type_id_list b/bt5/erp5_simulation/bt/template_portal_type_id_list index 6e586775108f35f206e04066b8f24f7040895166..37291a604fa8805cd4ad15cfc2f486ca7b4307b7 100644 --- a/bt5/erp5_simulation/bt/template_portal_type_id_list +++ b/bt5/erp5_simulation/bt/template_portal_type_id_list @@ -14,5 +14,6 @@ Solver Decision Solver Process Solver Tool Solver Type +Start Date Replacement Solver String Divergence Tester Variation Divergence Tester \ No newline at end of file diff --git a/bt5/erp5_simulation/bt/template_portal_type_workflow_chain_list b/bt5/erp5_simulation/bt/template_portal_type_workflow_chain_list index 6721e2ab965e15fd40c8fb4ed05c1578a6d7ac9b..26e07b43374f76d500d4094c3116d909475cb746 100644 --- a/bt5/erp5_simulation/bt/template_portal_type_workflow_chain_list +++ b/bt5/erp5_simulation/bt/template_portal_type_workflow_chain_list @@ -11,5 +11,6 @@ Quantity Cancel Solver | solver_workflow Quantity Split Solver | solver_workflow Resource Adoption Solver | solver_workflow Resource Replacement Solver | solver_workflow +Start Date Replacement Solver | solver_workflow String Divergence Tester | edit_workflow Variation Divergence Tester | edit_workflow \ No newline at end of file