Commit ec748d2b authored by Jérome Perrin's avatar Jérome Perrin

configurator_standard_solver: add Simple Quantity Split Solver

Similar to Quantity Split Solver, but using FIFO delivery solver, so
that user does not have to choose a delivery solver.
parent f83b12c8
...@@ -100,6 +100,7 @@ ...@@ -100,6 +100,7 @@
<string>conflicting_solver/portal_solvers/Quantity Cancel Solver</string> <string>conflicting_solver/portal_solvers/Quantity Cancel Solver</string>
<string>conflicting_solver/portal_solvers/Quantity Split Move Solver</string> <string>conflicting_solver/portal_solvers/Quantity Split Move Solver</string>
<string>conflicting_solver/portal_solvers/Quantity Split Solver</string> <string>conflicting_solver/portal_solvers/Quantity Split Solver</string>
<string>conflicting_solver/portal_solvers/Simple Quantity Split Solver</string>
<string>conflicting_solver/portal_solvers/Trade Model Solver</string> <string>conflicting_solver/portal_solvers/Trade Model Solver</string>
<string>conflicting_solver/portal_solvers/Unify Solver</string> <string>conflicting_solver/portal_solvers/Unify Solver</string>
</tuple> </tuple>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Solver Type" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Access_contents_information_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Add_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Modify_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_View_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_identity_criterion</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>_range_criterion</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
</value>
</item>
<item>
<key> <string>acquire_local_roles</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>allowed_content_types</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>automatic_solver</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>base_category_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>delivery_solver/portal_solvers/FIFO Delivery Solver</string>
</tuple>
</value>
</item>
<item>
<key> <string>configuration_form_id</string> </key>
<value> <string>QuantitySplitSolver_viewConfigurationFormBox</string> </value>
</item>
<item>
<key> <string>configuration_groupable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>configuration_property_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>content_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>The Quantity Split Solver splits a simulation movement into multiple simulation movements in order to defer the delivery of remaining quantities. This "Simple" version does not allow to select the delivery solver and uses FIFO implicitly.</string> </value>
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addQuantitySplitSolver</string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<tuple>
<string>target_solver</string>
</tuple>
</value>
</item>
<item>
<key> <string>hidden_content_type_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Simple Quantity Split Solver</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>int_index</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>line_exclusive</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>line_groupable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>membership_criterion_category</string> </key>
<value>
<tuple/>
</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>process_exclusive</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>property_sheet_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>solver_action_title</string> </key>
<value> <string>Split and Defer</string> </value>
</item>
<item>
<key> <string>string_index</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>test_method_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>tested_property</string> </key>
<value>
<tuple>
<string>quantity</string>
<string>quantity_unit</string>
</tuple>
</value>
</item>
<item>
<key> <string>type_class</string> </key>
<value> <string>QuantitySplitSolver</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Length" module="BTrees.Length"/>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="5" aka="AAAAAAAAAAU=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="6" aka="AAAAAAAAAAY=">
<pickle>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Action Information" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>action_permission</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_view</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>float_index</string> </key>
<value> <float>2.0</float> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>1</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>reference</string> </key>
<value> <string>configuration</string> </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>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Action Information" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>action_permission</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_view</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>float_index</string> </key>
<value> <float>1.0</float> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>2</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>reference</string> </key>
<value> <string>view</string> </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>
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<item>Production Reduction Solver</item> <item>Production Reduction Solver</item>
<item>Quantity Split Move Solver</item> <item>Quantity Split Move Solver</item>
<item>Quantity Split Solver</item> <item>Quantity Split Solver</item>
<item>Simple Quantity Split Solver</item>
<item>Trade Model Solver</item> <item>Trade Model Solver</item>
<item>Unify Solver</item> <item>Unify Solver</item>
</portal_type> </portal_type>
......
...@@ -23,6 +23,10 @@ ...@@ -23,6 +23,10 @@
<type>Quantity Split Solver</type> <type>Quantity Split Solver</type>
<workflow>solver_workflow</workflow> <workflow>solver_workflow</workflow>
</chain> </chain>
<chain>
<type>Simple Quantity Split Solver</type>
<workflow>solver_workflow</workflow>
</chain>
<chain> <chain>
<type>Trade Model Solver</type> <type>Trade Model Solver</type>
<workflow>solver_workflow</workflow> <workflow>solver_workflow</workflow>
......
...@@ -18,6 +18,8 @@ portal_solvers/Quantity Split Move Solver ...@@ -18,6 +18,8 @@ portal_solvers/Quantity Split Move Solver
portal_solvers/Quantity Split Move Solver/* portal_solvers/Quantity Split Move Solver/*
portal_solvers/Quantity Split Solver portal_solvers/Quantity Split Solver
portal_solvers/Quantity Split Solver/* portal_solvers/Quantity Split Solver/*
portal_solvers/Simple Quantity Split Solver
portal_solvers/Simple Quantity Split Solver/*
portal_solvers/Trade Model Solver portal_solvers/Trade Model Solver
portal_solvers/Trade Model Solver/* portal_solvers/Trade Model Solver/*
portal_solvers/Unify Solver portal_solvers/Unify Solver
......
...@@ -7,5 +7,6 @@ Solver Process | Minimise Price Delivery Solver ...@@ -7,5 +7,6 @@ Solver Process | Minimise Price Delivery Solver
Solver Process | Production Reduction Solver Solver Process | Production Reduction Solver
Solver Process | Quantity Split Move Solver Solver Process | Quantity Split Move Solver
Solver Process | Quantity Split Solver Solver Process | Quantity Split Solver
Solver Process | Simple Quantity Split Solver
Solver Process | Trade Model Solver Solver Process | Trade Model Solver
Solver Process | Unify Solver Solver Process | Unify Solver
\ No newline at end of file
...@@ -4,5 +4,6 @@ Automatic Accept Solver | solver_workflow ...@@ -4,5 +4,6 @@ Automatic Accept Solver | solver_workflow
Production Reduction Solver | solver_workflow Production Reduction Solver | solver_workflow
Quantity Cancel Solver | solver_workflow Quantity Cancel Solver | solver_workflow
Quantity Split Solver | solver_workflow Quantity Split Solver | solver_workflow
Simple Quantity Split Solver | solver_workflow
Trade Model Solver | solver_workflow Trade Model Solver | solver_workflow
Unify Solver | solver_workflow Unify Solver | solver_workflow
\ No newline at end of file
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