Commit 93ac620a authored by Jérome Perrin's avatar Jérome Perrin

Move predicate matrix to legacy simulation

In legacy simulation, we use to have a matrix of predicate containing *Accounting Rule Cell*, with some (probably) buggy interactions to maintain the matrix of predicates.

When moving to new simulation we realized we can just do this configuration using trade model path, so this is no longer needed.

The configuration *Rules contain Accounting Rule Cells* was already moved to `erp5_simulation_legacy`.


There are two other parts of configuration that were also used only used with Accounting Rule Cells in rules::

 * *Rules and Predicate use an interaction workflow to update matrix* - and the corresponding (missnamed) `rule_interaction_workflow`
 * *Rules contain Predicate*

This MR just move these two bits of configuration to legacy business template.

/cc @jm @tatuya 

/reviewed-on nexedi/erp5!627
parents 079e6298 411f894c
......@@ -48,7 +48,6 @@
<item>DateTime Divergence Tester</item>
<item>Float Divergence Tester</item>
<item>Net Converted Quantity Divergence Tester</item>
<item>Predicate</item>
<item>Specialise Divergence Tester</item>
<item>String Divergence Tester</item>
<item>Variation Divergence Tester</item>
......
......@@ -41,7 +41,7 @@
</chain>
<chain>
<type>Payment Simulation Rule</type>
<workflow>edit_workflow, rule_interaction_workflow, rule_validation_workflow</workflow>
<workflow>edit_workflow, rule_validation_workflow</workflow>
</chain>
<chain>
<type>Payment Transaction</type>
......
......@@ -28,7 +28,6 @@ Payment Simulation Rule | Category Membership Divergence Tester
Payment Simulation Rule | DateTime Divergence Tester
Payment Simulation Rule | Float Divergence Tester
Payment Simulation Rule | Net Converted Quantity Divergence Tester
Payment Simulation Rule | Predicate
Payment Simulation Rule | Specialise Divergence Tester
Payment Simulation Rule | String Divergence Tester
Payment Simulation Rule | Variation Divergence Tester
......
......@@ -22,7 +22,6 @@ Internal Invoice Transaction | internal_invoice_transaction_simulation_workflow
Invoice Root Simulation Rule | edit_workflow
Invoice Root Simulation Rule | rule_validation_workflow
Payment Simulation Rule | edit_workflow
Payment Simulation Rule | rule_interaction_workflow
Payment Simulation Rule | rule_validation_workflow
Payment Transaction | accounting_workflow
Payment Transaction | delivery_causality_interaction_workflow
......
......@@ -5,8 +5,10 @@
</portal_type>
<portal_type id="Invoice Transaction Simulation Rule">
<item>Accounting Rule Cell</item>
<item>Predicate</item>
</portal_type>
<portal_type id="Payment Simulation Rule">
<item>Accounting Rule Cell</item>
<item>Predicate</item>
</portal_type>
</allowed_content_type_list>
\ No newline at end of file
<workflow_chain>
<chain>
<type>Invoice Transaction Simulation Rule</type>
<workflow>rule_interaction_workflow</workflow>
</chain>
<chain>
<type>Payment Simulation Rule</type>
<workflow>rule_interaction_workflow</workflow>
</chain>
<chain>
<type>Predicate</type>
<workflow>rule_interaction_workflow</workflow>
</chain>
</workflow_chain>
\ No newline at end of file
Accounting Rule Cell | Accounting Rule Cell Line
Accounting Rule Cell | Accounting Transaction Line
Invoice Transaction Simulation Rule | Accounting Rule Cell
Payment Simulation Rule | Accounting Rule Cell
\ No newline at end of file
Invoice Transaction Simulation Rule | Predicate
Payment Simulation Rule | Accounting Rule Cell
Payment Simulation Rule | Predicate
\ No newline at end of file
Invoice Transaction Simulation Rule | rule_interaction_workflow
Payment Simulation Rule | rule_interaction_workflow
Predicate | rule_interaction_workflow
\ No newline at end of file
rule_interaction_workflow
\ No newline at end of file
......@@ -17,7 +17,6 @@
<item>DateTime Divergence Tester</item>
<item>Float Divergence Tester</item>
<item>Net Converted Quantity Divergence Tester</item>
<item>Predicate</item>
<item>Specialise Divergence Tester</item>
<item>String Divergence Tester</item>
<item>Variation Divergence Tester</item>
......
......@@ -13,7 +13,7 @@
</chain>
<chain>
<type>Invoice Transaction Simulation Rule</type>
<workflow>edit_workflow, rule_interaction_workflow, rule_validation_workflow</workflow>
<workflow>edit_workflow, rule_validation_workflow</workflow>
</chain>
<chain>
<type>Trade Model Simulation Rule</type>
......
......@@ -11,7 +11,6 @@ Invoice Transaction Simulation Rule | Category Membership Divergence Tester
Invoice Transaction Simulation Rule | DateTime Divergence Tester
Invoice Transaction Simulation Rule | Float Divergence Tester
Invoice Transaction Simulation Rule | Net Converted Quantity Divergence Tester
Invoice Transaction Simulation Rule | Predicate
Invoice Transaction Simulation Rule | Specialise Divergence Tester
Invoice Transaction Simulation Rule | String Divergence Tester
Invoice Transaction Simulation Rule | Variation Divergence Tester
......
......@@ -11,7 +11,6 @@ Invoice Line | trade_matrix_workflow
Invoice Simulation Rule | edit_workflow
Invoice Simulation Rule | rule_validation_workflow
Invoice Transaction Simulation Rule | edit_workflow
Invoice Transaction Simulation Rule | rule_interaction_workflow
Invoice Transaction Simulation Rule | rule_validation_workflow
Trade Model Simulation Rule | edit_workflow
Trade Model Simulation Rule | rule_validation_workflow
\ No newline at end of file
......@@ -117,7 +117,7 @@
</chain>
<chain>
<type>Predicate</type>
<workflow>edit_workflow, rule_interaction_workflow</workflow>
<workflow>edit_workflow</workflow>
</chain>
<chain>
<type>Preference</type>
......
......@@ -35,7 +35,6 @@ Extension Component | edit_workflow
Mapped Value | edit_workflow
Memcached Plugin | memcached_plugin_interaction_workflow
Predicate | edit_workflow
Predicate | rule_interaction_workflow
Preference | edit_workflow
Preference | preference_workflow
Property Existence Constraint | dynamic_class_generation_interaction_workflow
......
......@@ -8,6 +8,5 @@ edit_workflow
memcached_plugin_interaction_workflow
preference_workflow
pricing_interaction_workflow
rule_interaction_workflow
rule_validation_workflow
validation_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