From a01c2962ff0cb3d86422443f331182670106bb40 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Mon, 12 Jul 2010 15:05:18 +0000 Subject: [PATCH] set trade_phase in rules. git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37058 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../new_delivery_root_simulation_rule.xml | 28 +++++- .../new_delivery_simulation_rule.xml | 28 +++++- .../new_invoice_root_simulation_rule.xml | 28 +++++- .../new_invoice_simulation_rule.xml | 28 +++++- ...ew_invoice_transaction_simulation_rule.xml | 28 +++++- .../new_order_root_simulation_rule.xml | 88 ++++++++++++++++++- .../new_payment_simulation_rule.xml | 24 +++++ .../new_trade_model_simulation_rule.xml | 24 +++++ bt5/erp5_simulation/bt/revision | 2 +- 9 files changed, 268 insertions(+), 10 deletions(-) diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule.xml index eb9d9201d9..58f82d9626 100644 --- a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule.xml +++ b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule.xml @@ -9,6 +9,30 @@ </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> @@ -42,7 +66,9 @@ <item> <key> <string>categories</string> </key> <value> - <tuple/> + <tuple> + <string>trade_phase/default/delivery</string> + </tuple> </value> </item> <item> diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_delivery_simulation_rule.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_delivery_simulation_rule.xml index 5ba9b7ccfe..4ccca71cb0 100644 --- a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_delivery_simulation_rule.xml +++ b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_delivery_simulation_rule.xml @@ -9,6 +9,30 @@ </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> @@ -42,7 +66,9 @@ <item> <key> <string>categories</string> </key> <value> - <tuple/> + <tuple> + <string>trade_phase/default/delivery</string> + </tuple> </value> </item> <item> diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule.xml index 2ae651f778..b8430be3a1 100644 --- a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule.xml +++ b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule.xml @@ -9,6 +9,30 @@ </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> @@ -42,7 +66,9 @@ <item> <key> <string>categories</string> </key> <value> - <tuple/> + <tuple> + <string>trade_phase/default/invoicing</string> + </tuple> </value> </item> <item> diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_simulation_rule.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_simulation_rule.xml index 04d8b647bd..37b6def1eb 100644 --- a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_simulation_rule.xml +++ b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_simulation_rule.xml @@ -9,6 +9,30 @@ </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> @@ -42,7 +66,9 @@ <item> <key> <string>categories</string> </key> <value> - <tuple/> + <tuple> + <string>trade_phase/default/invoicing</string> + </tuple> </value> </item> <item> diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule.xml index cebe65df99..6d5b0601a9 100644 --- a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule.xml +++ b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule.xml @@ -9,6 +9,30 @@ </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> @@ -42,7 +66,9 @@ <item> <key> <string>categories</string> </key> <value> - <tuple/> + <tuple> + <string>trade_phase/default/invoicing</string> + </tuple> </value> </item> <item> diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_root_simulation_rule.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_root_simulation_rule.xml index 31023ebff5..5eba62307d 100644 --- a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_root_simulation_rule.xml +++ b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_order_root_simulation_rule.xml @@ -9,6 +9,30 @@ </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> @@ -16,27 +40,47 @@ </value> </item> <item> - <key> <string>_mt_index</string> </key> + <key> <string>_identity_criterion</string> </key> <value> <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> <item> - <key> <string>_tree</string> </key> + <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>categories</string> </key> <value> - <tuple/> + <tuple> + <string>trade_phase/default/order</string> + </tuple> </value> </item> <item> <key> <string>default_reference</string> </key> <value> <string>default_order_rule</string> </value> </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>new_order_root_simulation_rule</string> </value> @@ -67,6 +111,24 @@ <pickle> <int>0</int> </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> + <record id="4" aka="AAAAAAAAAAQ="> <pickle> <global name="OOBTree" module="BTrees._OOBTree"/> </pickle> @@ -74,7 +136,25 @@ <none/> </pickle> </record> - <record id="4" aka="AAAAAAAAAAQ="> + <record id="5" aka="AAAAAAAAAAU="> + <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="6" aka="AAAAAAAAAAY="> <pickle> <global name="OOBTree" module="BTrees._OOBTree"/> </pickle> diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_payment_simulation_rule.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_payment_simulation_rule.xml index 29d9d11db8..c64d2f258d 100644 --- a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_payment_simulation_rule.xml +++ b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_payment_simulation_rule.xml @@ -9,6 +9,30 @@ </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_trade_model_simulation_rule.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_trade_model_simulation_rule.xml index e8a58d18b2..4800513adf 100644 --- a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_trade_model_simulation_rule.xml +++ b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_trade_model_simulation_rule.xml @@ -9,6 +9,30 @@ </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 615be700b9..8bfa2f5ecd 100644 --- a/bt5/erp5_simulation/bt/revision +++ b/bt5/erp5_simulation/bt/revision @@ -1 +1 @@ -85 \ No newline at end of file +86 \ No newline at end of file -- 2.30.9