From 0cf179bb31657585282f803acc2c6b148767a74c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Thu, 29 Dec 2005 13:30:03 +0000
Subject: [PATCH] add new properties for business template

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4933 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../ERP5/bootstrap/erp5_core/bt/change_log    |  9 ++++
 .../erp5_core/bt/template_action_path_list    | 12 +++++
 .../bt/template_catalog_full_text_key_list    |  0
 .../bt/template_catalog_keyword_key_list      |  0
 .../bt/template_catalog_multivalue_key_list   |  0
 .../bt/template_catalog_request_key_list      |  0
 .../bt/template_catalog_topic_key_list        |  0
 .../erp5_core/bt/template_local_role_list     |  0
 ...late_portal_type_allowed_content_type_list | 48 +++++++++++++++++++
 .../template_portal_type_base_category_list   |  2 +
 ...plate_portal_type_hidden_content_type_list |  1 +
 .../template_portal_type_property_sheet_list  |  5 ++
 ...template_update_business_template_workflow |  1 +
 .../erp5_core/bt/template_update_tool         |  1 +
 product/ERP5/bootstrap/erp5_core/bt/version   |  2 +-
 15 files changed, 80 insertions(+), 1 deletion(-)
 create mode 100755 product/ERP5/bootstrap/erp5_core/bt/template_catalog_full_text_key_list
 create mode 100755 product/ERP5/bootstrap/erp5_core/bt/template_catalog_keyword_key_list
 create mode 100755 product/ERP5/bootstrap/erp5_core/bt/template_catalog_multivalue_key_list
 create mode 100755 product/ERP5/bootstrap/erp5_core/bt/template_catalog_request_key_list
 create mode 100755 product/ERP5/bootstrap/erp5_core/bt/template_catalog_topic_key_list
 create mode 100755 product/ERP5/bootstrap/erp5_core/bt/template_local_role_list
 create mode 100755 product/ERP5/bootstrap/erp5_core/bt/template_portal_type_allowed_content_type_list
 create mode 100755 product/ERP5/bootstrap/erp5_core/bt/template_portal_type_base_category_list
 create mode 100755 product/ERP5/bootstrap/erp5_core/bt/template_portal_type_hidden_content_type_list
 create mode 100755 product/ERP5/bootstrap/erp5_core/bt/template_portal_type_property_sheet_list
 create mode 100755 product/ERP5/bootstrap/erp5_core/bt/template_update_business_template_workflow
 create mode 100755 product/ERP5/bootstrap/erp5_core/bt/template_update_tool

diff --git a/product/ERP5/bootstrap/erp5_core/bt/change_log b/product/ERP5/bootstrap/erp5_core/bt/change_log
index 3fa1f1787f..bff3af7f69 100755
--- a/product/ERP5/bootstrap/erp5_core/bt/change_log
+++ b/product/ERP5/bootstrap/erp5_core/bt/change_log
@@ -1,3 +1,12 @@
+2005-12-29 jerome
+* update Resource_zGetInventory(List) to take into account changes in the stock table.
+* bug fix: Organisation default currency is "price_currency". updated Organisation_viewDetails.
+
+2005-12-29 aurel
+* add new forms for Business Template to manage new properties and nw upgrade way
+* define Business Template actions in order to update them easily
+* save and exportof Business Template are now object_exchange
+
 2005-12-28 jerome
 * bug fix form_view and dialog_master for i18n
 
diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_action_path_list b/product/ERP5/bootstrap/erp5_core/bt/template_action_path_list
index e69de29bb2..0eef053f4c 100755
--- a/product/ERP5/bootstrap/erp5_core/bt/template_action_path_list
+++ b/product/ERP5/bootstrap/erp5_core/bt/template_action_path_list
@@ -0,0 +1,12 @@
+Business Template[id=export]
+Business Template[id=get_portal_type_properties]
+Business Template[id=guess_portal_types]
+Business Template[id=history]
+Business Template[id=metadata]
+Business Template[id=save]
+Business Template[id=unittest_run]
+Business Template[id=update]
+Business Template[id=view]
+Business Template[id=view_catalog]
+Business Template[id=view_detail]
+Business Template[id=view_portal_types]
\ No newline at end of file
diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_catalog_full_text_key_list b/product/ERP5/bootstrap/erp5_core/bt/template_catalog_full_text_key_list
new file mode 100755
index 0000000000..e69de29bb2
diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_catalog_keyword_key_list b/product/ERP5/bootstrap/erp5_core/bt/template_catalog_keyword_key_list
new file mode 100755
index 0000000000..e69de29bb2
diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_catalog_multivalue_key_list b/product/ERP5/bootstrap/erp5_core/bt/template_catalog_multivalue_key_list
new file mode 100755
index 0000000000..e69de29bb2
diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_catalog_request_key_list b/product/ERP5/bootstrap/erp5_core/bt/template_catalog_request_key_list
new file mode 100755
index 0000000000..e69de29bb2
diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_catalog_topic_key_list b/product/ERP5/bootstrap/erp5_core/bt/template_catalog_topic_key_list
new file mode 100755
index 0000000000..e69de29bb2
diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_local_role_list b/product/ERP5/bootstrap/erp5_core/bt/template_local_role_list
new file mode 100755
index 0000000000..e69de29bb2
diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_portal_type_allowed_content_type_list b/product/ERP5/bootstrap/erp5_core/bt/template_portal_type_allowed_content_type_list
new file mode 100755
index 0000000000..5f8b0e08aa
--- /dev/null
+++ b/product/ERP5/bootstrap/erp5_core/bt/template_portal_type_allowed_content_type_list
@@ -0,0 +1,48 @@
+Agent | Agent Privilege
+Alarm Tool | Alarm
+Applied Rule | Simulation Movement
+Bank Account | Agent
+Base Category | Category
+Category Tool | Base Category
+Category | Category
+Currency Exchange Line | Currency Exchange Cell
+Currency Module | Currency
+Currency Module | ERP5Currency
+Currency | Currency Exchange Line
+Delivery Builder | Predicate Group
+Delivery Tool | Delivery Builder
+Order Builder | Predicate Group
+Order Tool | Order Builder
+Organisation Module | Organisation
+Organisation | Address
+Organisation | Bank Account
+Organisation | ChatAddress
+Organisation | Credit Card
+Organisation | Document
+Organisation | Email
+Organisation | Fax
+Organisation | File
+Organisation | Image
+Organisation | Link
+Organisation | Telephone
+Person Module | Person
+Person | Address
+Person | Assignment
+Person | Bank Account
+Person | Career
+Person | ChatAddress
+Person | Credit Card
+Person | Email
+Person | Fax
+Person | File
+Person | Image
+Person | Telephone
+Predicate | Value Predicate
+Preference Tool | Preference
+Rule Tool | Delivery Rule
+Rule Tool | Invoice Rule
+Rule Tool | Invoice Transaction Rule
+Simulation Movement | Applied Rule
+Simulation Tool | Applied Rule
+Template Tool | Business Template
+Trash Tool | Trash Bin
\ No newline at end of file
diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_portal_type_base_category_list b/product/ERP5/bootstrap/erp5_core/bt/template_portal_type_base_category_list
new file mode 100755
index 0000000000..3544d78440
--- /dev/null
+++ b/product/ERP5/bootstrap/erp5_core/bt/template_portal_type_base_category_list
@@ -0,0 +1,2 @@
+Currency Exchange Line | price_currency
+Trash Bin | causality
\ No newline at end of file
diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_portal_type_hidden_content_type_list b/product/ERP5/bootstrap/erp5_core/bt/template_portal_type_hidden_content_type_list
new file mode 100755
index 0000000000..a631d47d60
--- /dev/null
+++ b/product/ERP5/bootstrap/erp5_core/bt/template_portal_type_hidden_content_type_list
@@ -0,0 +1 @@
+Currency Exchange Line | Currency Exchange Cell
\ No newline at end of file
diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_portal_type_property_sheet_list b/product/ERP5/bootstrap/erp5_core/bt/template_portal_type_property_sheet_list
new file mode 100755
index 0000000000..310393d22a
--- /dev/null
+++ b/product/ERP5/bootstrap/erp5_core/bt/template_portal_type_property_sheet_list
@@ -0,0 +1,5 @@
+Bank Account | BankAccount
+Credit Card | CreditCard
+Trash Bin | Base
+Trash Bin | SimpleItem
+Trash Bin | Task
\ No newline at end of file
diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_update_business_template_workflow b/product/ERP5/bootstrap/erp5_core/bt/template_update_business_template_workflow
new file mode 100755
index 0000000000..c227083464
--- /dev/null
+++ b/product/ERP5/bootstrap/erp5_core/bt/template_update_business_template_workflow
@@ -0,0 +1 @@
+0
\ No newline at end of file
diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_update_tool b/product/ERP5/bootstrap/erp5_core/bt/template_update_tool
new file mode 100755
index 0000000000..c227083464
--- /dev/null
+++ b/product/ERP5/bootstrap/erp5_core/bt/template_update_tool
@@ -0,0 +1 @@
+0
\ No newline at end of file
diff --git a/product/ERP5/bootstrap/erp5_core/bt/version b/product/ERP5/bootstrap/erp5_core/bt/version
index 458468f21c..7a634f9e3e 100755
--- a/product/ERP5/bootstrap/erp5_core/bt/version
+++ b/product/ERP5/bootstrap/erp5_core/bt/version
@@ -1 +1 @@
-1.0rc5
\ No newline at end of file
+1.0rc6
\ No newline at end of file
-- 
2.30.9