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

configurator_standard_solver: add Automatic Accept Solver

a solver that can automatically accept all divergences, except on
quantity{,_unit}
parent 96119a3d
<?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>automatic_solver</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>delivery_solver/portal_solvers/FIFO Delivery Solver</string>
<string>conflicting_solver/portal_solvers/Accept Solver</string>
<string>conflicting_solver/portal_solvers/Adopt 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 Solver</string>
<string>conflicting_solver/portal_solvers/Trade Model Solver</string>
<string>conflicting_solver/portal_solvers/Unify Solver</string>
</tuple>
</value>
</item>
<item>
<key> <string>configuration_form_id</string> </key>
<value> <string>GenericSolver_viewConfigurationFormBox</string> </value>
</item>
<item>
<key> <string>configuration_groupable</string> </key>
<value> <int>1</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 Accept Solver solves the divergence by accepting the decision and updating a simulation movement.</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>Automatic Accept Solver</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>line_exclusive</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>line_groupable</string> </key>
<value> <int>0</int> </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>solver_action_title</string> </key>
<value> <string>Accept new value automatically</string> </value>
</item>
<item>
<key> <string>tested_property</string> </key>
<value>
<tuple>
<string>aggregate</string>
<string>base_application</string>
<string>base_contribution</string>
<string>delivery_mode</string>
<string>description</string>
<string>destination</string>
<string>destination_account</string>
<string>destination_administration</string>
<string>destination_decision</string>
<string>destination_function</string>
<string>destination_payment</string>
<string>destination_project</string>
<string>destination_section</string>
<string>incoterm</string>
<string>ledger</string>
<string>price</string>
<string>price_currency</string>
<string>resource</string>
<string>source</string>
<string>source_account</string>
<string>source_administration</string>
<string>source_decision</string>
<string>source_function</string>
<string>source_payment</string>
<string>source_project</string>
<string>source_section</string>
<string>start_date</string>
<string>stop_date</string>
<string>use</string>
<string>variation_category_list</string>
<string>variation_property_dict</string>
</tuple>
</value>
</item>
<item>
<key> <string>type_class</string> </key>
<value> <string>AcceptSolver</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>
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<portal_type id="Solver Process"> <portal_type id="Solver Process">
<item>Accept Solver</item> <item>Accept Solver</item>
<item>Adopt Solver</item> <item>Adopt Solver</item>
<item>Automatic Accept Solver</item>
<item>FIFO Delivery Solver</item> <item>FIFO Delivery Solver</item>
<item>LIFO Delivery Solver</item> <item>LIFO Delivery Solver</item>
<item>Minimise Price Delivery Solver</item> <item>Minimise Price Delivery Solver</item>
......
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
<type>Adopt Solver</type> <type>Adopt Solver</type>
<workflow>solver_workflow</workflow> <workflow>solver_workflow</workflow>
</chain> </chain>
<chain>
<type>Automatic Accept Solver</type>
<workflow>solver_workflow</workflow>
</chain>
<chain> <chain>
<type>Production Reduction Solver</type> <type>Production Reduction Solver</type>
<workflow>solver_workflow</workflow> <workflow>solver_workflow</workflow>
......
...@@ -2,6 +2,8 @@ portal_solvers/Accept Solver ...@@ -2,6 +2,8 @@ portal_solvers/Accept Solver
portal_solvers/Accept Solver/* portal_solvers/Accept Solver/*
portal_solvers/Adopt Solver portal_solvers/Adopt Solver
portal_solvers/Adopt Solver/* portal_solvers/Adopt Solver/*
portal_solvers/Automatic Accept Solver
portal_solvers/Automatic Accept Solver/*
portal_solvers/FIFO Delivery Solver portal_solvers/FIFO Delivery Solver
portal_solvers/FIFO Delivery Solver/* portal_solvers/FIFO Delivery Solver/*
portal_solvers/LIFO Delivery Solver portal_solvers/LIFO Delivery Solver
......
Solver Process | Accept Solver Solver Process | Accept Solver
Solver Process | Adopt Solver Solver Process | Adopt Solver
Solver Process | Automatic Accept Solver
Solver Process | FIFO Delivery Solver Solver Process | FIFO Delivery Solver
Solver Process | LIFO Delivery Solver Solver Process | LIFO Delivery Solver
Solver Process | Minimise Price Delivery Solver Solver Process | Minimise Price Delivery Solver
......
Accept Solver | solver_workflow Accept Solver | solver_workflow
Adopt Solver | solver_workflow Adopt Solver | solver_workflow
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
......
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