From 914e46b3301c90180ef34a53e7c8e17cca366fd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Tue, 3 Jul 2007 10:12:12 +0000
Subject: [PATCH] 2006-07-03 aurel * remove incident module as it is not
 enougth specific

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15122 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../allowed_content_types.xml                    | 14 --------------
 .../base_category_list.xml                       |  7 +------
 .../hidden_content_type_list.xml                 | 11 -----------
 .../property_sheet_list.xml                      | 11 +----------
 .../workflow_chain_type.xml                      |  4 ----
 bt5/erp5_banking_cash/bt/change_log              |  3 +++
 bt5/erp5_banking_cash/bt/revision                |  2 +-
 .../bt/template_action_path_list                 | 16 ----------------
 bt5/erp5_banking_cash/bt/template_module_id_list |  1 -
 ...emplate_portal_type_allowed_content_type_list |  6 ------
 .../bt/template_portal_type_base_category_list   |  3 ---
 ...template_portal_type_hidden_content_type_list |  5 -----
 .../bt/template_portal_type_id_list              |  4 ----
 .../bt/template_portal_type_property_sheet_list  |  3 ---
 .../bt/template_portal_type_workflow_chain_list  |  2 --
 .../bt/template_workflow_id_list                 |  2 +-
 16 files changed, 7 insertions(+), 87 deletions(-)

diff --git a/bt5/erp5_banking_cash/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_banking_cash/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
index 4ba5f89b71..11a42db228 100644
--- a/bt5/erp5_banking_cash/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
+++ b/bt5/erp5_banking_cash/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
@@ -91,14 +91,6 @@
  <portal_type id="Foreign Cash Reception Module">
   <item>Foreign Cash Reception</item>
  </portal_type>
- <portal_type id="Incident">
-  <item>Outgoing Incident Line</item>
-  <item>Incoming Incident Line</item>
-  <item>Banking Operation Line</item>
- </portal_type>
- <portal_type id="Incident Module">
-  <item>Incident</item>
- </portal_type>
  <portal_type id="Incoming Cash Balance Regulation Line">
   <item>Cash Delivery Cell</item>
  </portal_type>
@@ -118,9 +110,6 @@
  <portal_type id="Incoming Classification Survey Line">
   <item>Cash Delivery Cell</item>
  </portal_type>
- <portal_type id="Incoming Incident Line">
-  <item>Cash Delivery Cell</item>
- </portal_type>
  <portal_type id="Incoming Mutilated Banknote Line">
   <item>Cash Delivery Cell</item>
  </portal_type>
@@ -211,9 +200,6 @@
  <portal_type id="Outgoing Classification Survey Line">
   <item>Outgoing Classification Survey Cell</item>
  </portal_type>
- <portal_type id="Outgoing Incident Line">
-  <item>Cash Delivery Cell</item>
- </portal_type>
  <portal_type id="Outgoing Mutilated Banknote Line">
   <item>Cash Delivery Cell</item>
  </portal_type>
diff --git a/bt5/erp5_banking_cash/PortalTypeBaseCategoryTemplateItem/base_category_list.xml b/bt5/erp5_banking_cash/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
index 8649ff25ea..78552dab8e 100644
--- a/bt5/erp5_banking_cash/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
+++ b/bt5/erp5_banking_cash/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
@@ -17,8 +17,8 @@
   <item>emission_letter</item>
  </portal_type>
  <portal_type id="Container Line">
-  <item>variation</item>
   <item>emission_letter</item>
+  <item>variation</item>
   <item>cash_status</item>
  </portal_type>
  <portal_type id="Currency Purchase">
@@ -32,11 +32,6 @@
  <portal_type id="Foreign Cash Reception">
   <item>currency_exchange_type</item>
  </portal_type>
- <portal_type id="Incident">
-  <item>currency_exchange_type</item>
-  <item>site</item>
-  <item>incident_type</item>
- </portal_type>
  <portal_type id="Internal Money Deposit">
   <item>external_software</item>
  </portal_type>
diff --git a/bt5/erp5_banking_cash/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml b/bt5/erp5_banking_cash/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
index 155ee052ac..0262f688b3 100644
--- a/bt5/erp5_banking_cash/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
+++ b/bt5/erp5_banking_cash/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
@@ -54,11 +54,6 @@
  <portal_type id="Foreign Cash Reception">
   <item>Cash Delivery Line</item>
  </portal_type>
- <portal_type id="Incident">
-  <item>Incoming Account Incident Line</item>
-  <item>Banking Operation Line</item>
-  <item>Outgoing Account Incident Line</item>
- </portal_type>
  <portal_type id="Incoming Cash Balance Regulation Line">
   <item>Cash Delivery Cell</item>
  </portal_type>
@@ -77,9 +72,6 @@
  <portal_type id="Incoming Classification Survey Line">
   <item>Cash Delivery Cell</item>
  </portal_type>
- <portal_type id="Incoming Incident Line">
-  <item>Cash Delivery Cell</item>
- </portal_type>
  <portal_type id="Internal Money Deposit">
   <item>Cash Delivery Line</item>
   <item>Banking Operation Line</item>
@@ -141,9 +133,6 @@
  <portal_type id="Outgoing Classification Survey Line">
   <item>Outgoing Classification Survey Cell</item>
  </portal_type>
- <portal_type id="Outgoing Incident Line">
-  <item>Cash Delivery Cell</item>
- </portal_type>
  <portal_type id="Usual Cash Rendering">
   <item>Cash Delivery Line</item>
  </portal_type>
diff --git a/bt5/erp5_banking_cash/PortalTypePropertySheetTemplateItem/property_sheet_list.xml b/bt5/erp5_banking_cash/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
index e97048aa57..a8017294fa 100644
--- a/bt5/erp5_banking_cash/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
+++ b/bt5/erp5_banking_cash/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
@@ -61,9 +61,6 @@
  <portal_type id="Exchanged Mutilated Banknote Line">
   <item>CashDeliveryLine</item>
  </portal_type>
- <portal_type id="Incident">
-  <item>Price</item>
- </portal_type>
  <portal_type id="Incoming Cash Balance Regulation Line">
   <item>CashDeliveryLine</item>
  </portal_type>
@@ -82,16 +79,13 @@
  <portal_type id="Incoming Classification Survey Line">
   <item>CashDeliveryLine</item>
  </portal_type>
- <portal_type id="Incoming Incident Line">
-  <item>CashDeliveryLine</item>
- </portal_type>
  <portal_type id="Incoming Mutilated Banknote Line">
   <item>CashDeliveryLine</item>
  </portal_type>
  <portal_type id="Internal Money Deposit">
-  <item>Task</item>
   <item>InternalMoney</item>
   <item>Arrow</item>
+  <item>Task</item>
   <item>Price</item>
  </portal_type>
  <portal_type id="Monetary Destruction">
@@ -163,9 +157,6 @@
  <portal_type id="Outgoing Classification Survey Line">
   <item>CashDeliveryLine</item>
  </portal_type>
- <portal_type id="Outgoing Incident Line">
-  <item>CashDeliveryLine</item>
- </portal_type>
  <portal_type id="Outgoing Mutilated Banknote Line">
   <item>CashDeliveryLine</item>
  </portal_type>
diff --git a/bt5/erp5_banking_cash/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_banking_cash/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
index 4904bb59c4..bc9b2997c3 100644
--- a/bt5/erp5_banking_cash/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+++ b/bt5/erp5_banking_cash/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
@@ -55,10 +55,6 @@
   <type>Foreign Cash Reception</type>
   <workflow>foreign_cash_reception_workflow, edit_workflow</workflow>
  </chain>
- <chain>
-  <type>Incident</type>
-  <workflow>edit_workflow, incident_workflow</workflow>
- </chain>
  <chain>
   <type>Internal Money Deposit</type>
   <workflow>internal_money_deposit_workflow, edit_workflow</workflow>
diff --git a/bt5/erp5_banking_cash/bt/change_log b/bt5/erp5_banking_cash/bt/change_log
index 543326e4bc..3b0ef553fa 100644
--- a/bt5/erp5_banking_cash/bt/change_log
+++ b/bt5/erp5_banking_cash/bt/change_log
@@ -1,3 +1,6 @@
+2006-07-03 aurel
+* remove incident module as it is not enougth specific
+
 2006-06-29 aurel
 * merge the 4 incident module into one
 
diff --git a/bt5/erp5_banking_cash/bt/revision b/bt5/erp5_banking_cash/bt/revision
index 50b04dff0e..5587802b4e 100644
--- a/bt5/erp5_banking_cash/bt/revision
+++ b/bt5/erp5_banking_cash/bt/revision
@@ -1 +1 @@
-402
\ No newline at end of file
+405
\ No newline at end of file
diff --git a/bt5/erp5_banking_cash/bt/template_action_path_list b/bt5/erp5_banking_cash/bt/template_action_path_list
index 9c6e12a107..1448818b68 100644
--- a/bt5/erp5_banking_cash/bt/template_action_path_list
+++ b/bt5/erp5_banking_cash/bt/template_action_path_list
@@ -136,18 +136,6 @@ Foreign Cash Reception | history
 Foreign Cash Reception | metadata
 Foreign Cash Reception | print_pdf
 Foreign Cash Reception | view
-Incident Module | list_ui
-Incident Module | print_pdf
-Incident Module | sort_on
-Incident Module | view
-Incident | history
-Incident | in_input
-Incident | in_view
-Incident | metadata
-Incident | out_input
-Incident | out_view
-Incident | print_pdf
-Incident | view
 Incoming Cash Balance Regulation Line | metadata
 Incoming Cash Balance Regulation Line | view
 Incoming Cash Exchange Line | history
@@ -164,8 +152,6 @@ Incoming Cash To Currency Sale Line | print
 Incoming Cash To Currency Sale Line | view
 Incoming Classification Survey Line | metadata
 Incoming Classification Survey Line | view
-Incoming Incident Line | metadata
-Incoming Incident Line | view
 Incoming Mutilated Banknote Line | metadata
 Incoming Mutilated Banknote Line | print
 Incoming Mutilated Banknote Line | view
@@ -285,8 +271,6 @@ Outgoing Classification Survey Cell | metadata
 Outgoing Classification Survey Cell | view
 Outgoing Classification Survey Line | metadata
 Outgoing Classification Survey Line | view
-Outgoing Incident Line | metadata
-Outgoing Incident Line | view
 Outgoing Mutilated Banknote Line | metadata
 Outgoing Mutilated Banknote Line | print
 Outgoing Mutilated Banknote Line | view
diff --git a/bt5/erp5_banking_cash/bt/template_module_id_list b/bt5/erp5_banking_cash/bt/template_module_id_list
index 6f0854a49c..4ddce9c0bb 100644
--- a/bt5/erp5_banking_cash/bt/template_module_id_list
+++ b/bt5/erp5_banking_cash/bt/template_module_id_list
@@ -10,7 +10,6 @@ currency_purchase_module
 currency_sale_module
 destruction_survey_module
 foreign_cash_reception_module
-incident_module
 internal_money_deposit_module
 monetary_destruction_module
 monetary_issue_module
diff --git a/bt5/erp5_banking_cash/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_banking_cash/bt/template_portal_type_allowed_content_type_list
index 4904693cec..ee24c7af93 100644
--- a/bt5/erp5_banking_cash/bt/template_portal_type_allowed_content_type_list
+++ b/bt5/erp5_banking_cash/bt/template_portal_type_allowed_content_type_list
@@ -34,10 +34,6 @@ Destruction Survey | Cash Delivery Line
 Exchanged Mutilated Banknote Line | Cash Delivery Cell
 Foreign Cash Reception Module | Foreign Cash Reception
 Foreign Cash Reception | Cash Delivery Line
-Incident Module | Incident
-Incident | Banking Operation Line
-Incident | Incoming Incident Line
-Incident | Outgoing Incident Line
 Incoming Cash Balance Regulation Line | Cash Delivery Cell
 Incoming Cash Exchange Line | Cash Delivery Cell
 Incoming Cash Sorting Line | Cash Delivery Cell
@@ -45,7 +41,6 @@ Incoming Cash To Currency Purchase Line | Cash Delivery Cell
 Incoming Cash To Currency Purchase Line | Delivery Cell
 Incoming Cash To Currency Sale Line | Cash Delivery Cell
 Incoming Classification Survey Line | Cash Delivery Cell
-Incoming Incident Line | Cash Delivery Cell
 Incoming Mutilated Banknote Line | Cash Delivery Cell
 Internal Money Deposit Module | Internal Money Deposit
 Internal Money Deposit | Banking Operation Line
@@ -80,7 +75,6 @@ Outgoing Cash Sorting Line | Outgoing Cash Sorting Cell
 Outgoing Cash To Currency Purchase Line | Cash Delivery Cell
 Outgoing Cash To Currency Sale Line | Cash Delivery Cell
 Outgoing Classification Survey Line | Outgoing Classification Survey Cell
-Outgoing Incident Line | Cash Delivery Cell
 Outgoing Mutilated Banknote Line | Cash Delivery Cell
 Outgoing Usual Cash Incident Line | Cash Delivery Cell
 Usual Cash Rendering Module | Usual Cash Rendering
diff --git a/bt5/erp5_banking_cash/bt/template_portal_type_base_category_list b/bt5/erp5_banking_cash/bt/template_portal_type_base_category_list
index 978b3f0162..4a502f7f55 100644
--- a/bt5/erp5_banking_cash/bt/template_portal_type_base_category_list
+++ b/bt5/erp5_banking_cash/bt/template_portal_type_base_category_list
@@ -13,9 +13,6 @@ Currency Purchase | source_trade
 Currency Sale | currency_exchange_type
 Currency Sale | source_trade
 Foreign Cash Reception | currency_exchange_type
-Incident | currency_exchange_type
-Incident | incident_type
-Incident | site
 Internal Money Deposit | external_software
 Monetary Recall Cell | variation
 Money Deposit | external_software
diff --git a/bt5/erp5_banking_cash/bt/template_portal_type_hidden_content_type_list b/bt5/erp5_banking_cash/bt/template_portal_type_hidden_content_type_list
index 94477dbf16..c326b4a543 100644
--- a/bt5/erp5_banking_cash/bt/template_portal_type_hidden_content_type_list
+++ b/bt5/erp5_banking_cash/bt/template_portal_type_hidden_content_type_list
@@ -23,16 +23,12 @@ Currency Sale | Banking Operation Line
 Currency Sale | Cash Delivery Line
 Destruction Survey | Cash Delivery Line
 Foreign Cash Reception | Cash Delivery Line
-Incident | Banking Operation Line
-Incident | Incoming Account Incident Line
-Incident | Outgoing Account Incident Line
 Incoming Cash Balance Regulation Line | Cash Delivery Cell
 Incoming Cash Exchange Line | Cash Delivery Cell
 Incoming Cash Sorting Line | Cash Delivery Cell
 Incoming Cash To Currency Purchase Line | Cash Delivery Cell
 Incoming Cash To Currency Sale Line | Cash Delivery Cell
 Incoming Classification Survey Line | Cash Delivery Cell
-Incoming Incident Line | Cash Delivery Cell
 Internal Money Deposit | Banking Operation Line
 Internal Money Deposit | Cash Delivery Line
 Monetary Destruction | Cash Delivery Line
@@ -58,7 +54,6 @@ Outgoing Cash Sorting Line | Outgoing Cash Sorting Cell
 Outgoing Cash To Currency Purchase Line | Cash Delivery Cell
 Outgoing Cash To Currency Sale Line | Cash Delivery Cell
 Outgoing Classification Survey Line | Outgoing Classification Survey Cell
-Outgoing Incident Line | Cash Delivery Cell
 Usual Cash Rendering | Cash Delivery Line
 Usual Cash Transfer | Cash Delivery Line
 Vault Transfer Line | Vault Transfer Cell
diff --git a/bt5/erp5_banking_cash/bt/template_portal_type_id_list b/bt5/erp5_banking_cash/bt/template_portal_type_id_list
index 4cf798b33a..734c72eb38 100644
--- a/bt5/erp5_banking_cash/bt/template_portal_type_id_list
+++ b/bt5/erp5_banking_cash/bt/template_portal_type_id_list
@@ -27,15 +27,12 @@ Destruction Survey Module
 Exchanged Mutilated Banknote Line
 Foreign Cash Reception
 Foreign Cash Reception Module
-Incident
-Incident Module
 Incoming Cash Balance Regulation Line
 Incoming Cash Exchange Line
 Incoming Cash Sorting Line
 Incoming Cash To Currency Purchase Line
 Incoming Cash To Currency Sale Line
 Incoming Classification Survey Line
-Incoming Incident Line
 Incoming Mutilated Banknote Line
 Internal Money Deposit
 Internal Money Deposit Module
@@ -67,7 +64,6 @@ Outgoing Cash To Currency Purchase Line
 Outgoing Cash To Currency Sale Line
 Outgoing Classification Survey Cell
 Outgoing Classification Survey Line
-Outgoing Incident Line
 Outgoing Mutilated Banknote Line
 Usual Cash Rendering
 Usual Cash Rendering Module
diff --git a/bt5/erp5_banking_cash/bt/template_portal_type_property_sheet_list b/bt5/erp5_banking_cash/bt/template_portal_type_property_sheet_list
index e2ca92f975..e2618bc318 100644
--- a/bt5/erp5_banking_cash/bt/template_portal_type_property_sheet_list
+++ b/bt5/erp5_banking_cash/bt/template_portal_type_property_sheet_list
@@ -34,14 +34,12 @@ Currency Sale | Resource
 Destruction Survey | Amount
 Destruction Survey | Task
 Exchanged Mutilated Banknote Line | CashDeliveryLine
-Incident | Price
 Incoming Cash Balance Regulation Line | CashDeliveryLine
 Incoming Cash Exchange Line | CashDeliveryLine
 Incoming Cash Sorting Line | CashDeliveryLine
 Incoming Cash To Currency Purchase Line | CashDeliveryLine
 Incoming Cash To Currency Sale Line | CashDeliveryLine
 Incoming Classification Survey Line | CashDeliveryLine
-Incoming Incident Line | CashDeliveryLine
 Incoming Mutilated Banknote Line | CashDeliveryLine
 Internal Money Deposit | Arrow
 Internal Money Deposit | InternalMoney
@@ -78,7 +76,6 @@ Outgoing Cash To Currency Purchase Line | CashDeliveryLine
 Outgoing Cash To Currency Sale Line | CashDeliveryLine
 Outgoing Classification Survey Cell | CashDeliveryLine
 Outgoing Classification Survey Line | CashDeliveryLine
-Outgoing Incident Line | CashDeliveryLine
 Outgoing Mutilated Banknote Line | CashDeliveryLine
 Usual Cash Rendering | Amount
 Usual Cash Rendering | Price
diff --git a/bt5/erp5_banking_cash/bt/template_portal_type_workflow_chain_list b/bt5/erp5_banking_cash/bt/template_portal_type_workflow_chain_list
index 7627e1e23a..8970bd4a56 100644
--- a/bt5/erp5_banking_cash/bt/template_portal_type_workflow_chain_list
+++ b/bt5/erp5_banking_cash/bt/template_portal_type_workflow_chain_list
@@ -27,8 +27,6 @@ Destruction Survey | destruction_survey_workflow
 Destruction Survey | edit_workflow
 Foreign Cash Reception | edit_workflow
 Foreign Cash Reception | foreign_cash_reception_workflow
-Incident | edit_workflow
-Incident | incident_workflow
 Internal Money Deposit | edit_workflow
 Internal Money Deposit | internal_money_deposit_workflow
 Monetary Destruction | edit_workflow
diff --git a/bt5/erp5_banking_cash/bt/template_workflow_id_list b/bt5/erp5_banking_cash/bt/template_workflow_id_list
index 6ebce225ba..5e4c1e2b43 100644
--- a/bt5/erp5_banking_cash/bt/template_workflow_id_list
+++ b/bt5/erp5_banking_cash/bt/template_workflow_id_list
@@ -1,3 +1,4 @@
+
 cash_balance_regulation_workflow
 cash_exchange_workflow
 cash_movement_workflow
@@ -10,7 +11,6 @@ currency_purchase_workflow
 currency_sale_workflow
 destruction_survey_workflow
 foreign_cash_reception_workflow
-incident_workflow
 internal_money_deposit_workflow
 monetary_destruction_workflow
 monetary_issue_workflow
-- 
2.30.9