From 102c4dbfb3bb376f6ee3da90dbfea9f7da975656 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Tue, 29 Dec 2009 15:52:00 +0000 Subject: [PATCH] specify appropriate target solvers in rules. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31522 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_rules/new_order_rule.xml | 24 ------- .../portal_rules/new_order_rule/15.xml | 63 +++++++++++++++++++ .../portal_rules/new_order_rule/17.xml | 62 ++++++++++++++++++ .../portal_rules/new_order_rule/19.xml | 57 ++++++++++++++++- .../portal_rules/new_order_rule/4.xml | 62 ++++++++++++++++++ .../portal_rules/new_simple_order_rule.xml | 24 ------- bt5/erp5_simulation/bt/revision | 2 +- 7 files changed, 244 insertions(+), 50 deletions(-) diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule.xml index 7cd637089c..24a0efc963 100644 --- a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule.xml +++ b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule.xml @@ -9,30 +9,6 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>_Add_portal_content_Permission</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>_Delete_objects_Permission</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>_Modify_portal_content_Permission</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> <item> <key> <string>_count</string> </key> <value> diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule/15.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule/15.xml index 161a21ca83..b7b347a86a 100644 --- a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule/15.xml +++ b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule/15.xml @@ -9,6 +9,33 @@ </pickle> <pickle> <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>solver/portal_types/Resource Adoption Solver</string> + <string>solver/portal_types/Resource Replacement Solver</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>15</string> </value> @@ -36,4 +63,40 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="PersistentMapping" module="Persistence.mapping"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="PersistentMapping" module="Persistence.mapping"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule/17.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule/17.xml index 639ff66bde..eef1e34267 100644 --- a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule/17.xml +++ b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule/17.xml @@ -9,6 +9,12 @@ </pickle> <pickle> <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>_local_properties</string> </key> <value> @@ -26,6 +32,26 @@ </tuple> </value> </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>solver/portal_types/Start Date Replacement Solver</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>17</string> </value> @@ -53,4 +79,40 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="PersistentMapping" module="Persistence.mapping"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="PersistentMapping" module="Persistence.mapping"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule/19.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule/19.xml index 281fab74a1..952442b891 100644 --- a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule/19.xml +++ b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule/19.xml @@ -9,6 +9,12 @@ </pickle> <pickle> <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>_local_properties</string> </key> <value> @@ -36,15 +42,28 @@ </tuple> </value> </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> <item> <key> <string>categories</string> </key> <value> <tuple> - <string>solver/portal_types/Quantity Split Solver</string> <string>solver/portal_types/Quantity Accept Solver</string> + <string>solver/portal_types/Quantity Adoption Solver</string> + <string>solver/portal_types/Quantity Split Solver</string> </tuple> </value> </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>19</string> </value> @@ -76,4 +95,40 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="PersistentMapping" module="Persistence.mapping"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="PersistentMapping" module="Persistence.mapping"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule/4.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule/4.xml index d6424967b0..edba143b39 100644 --- a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule/4.xml +++ b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_rule/4.xml @@ -9,6 +9,32 @@ </pickle> <pickle> <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>solver/portal_types/Destination Replacement Solver</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>4</string> </value> @@ -32,4 +58,40 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="PersistentMapping" module="Persistence.mapping"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="PersistentMapping" module="Persistence.mapping"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_simple_order_rule.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_simple_order_rule.xml index 83e039b303..aaa4659639 100644 --- a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_simple_order_rule.xml +++ b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_simple_order_rule.xml @@ -9,30 +9,6 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>_Add_portal_content_Permission</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>_Delete_objects_Permission</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>_Modify_portal_content_Permission</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> <item> <key> <string>_count</string> </key> <value> diff --git a/bt5/erp5_simulation/bt/revision b/bt5/erp5_simulation/bt/revision index d2e1cefe89..7d37386284 100644 --- a/bt5/erp5_simulation/bt/revision +++ b/bt5/erp5_simulation/bt/revision @@ -1 +1 @@ -44 \ No newline at end of file +45 \ No newline at end of file -- 2.30.9