From a64655adb23fff7ff1bf360defd221e840359415 Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Fri, 14 May 2010 14:35:24 +0000
Subject: [PATCH] some portal_types were wrong.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35357 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../view.xml                                           |  2 +-
 .../base_category_list.xml                             | 10 +++++-----
 bt5/erp5_software_pdm/bt/revision                      |  2 +-
 bt5/erp5_software_pdm/bt/template_action_path_list     |  4 ++--
 .../bt/template_portal_type_base_category_list         |  6 +++---
 5 files changed, 12 insertions(+), 12 deletions(-)
 rename bt5/erp5_software_pdm/ActionTemplateItem/portal_types/{Software%20Product%20 => Software%20Product}/view.xml (97%)

diff --git a/bt5/erp5_software_pdm/ActionTemplateItem/portal_types/Software%20Product%20/view.xml b/bt5/erp5_software_pdm/ActionTemplateItem/portal_types/Software%20Product/view.xml
similarity index 97%
rename from bt5/erp5_software_pdm/ActionTemplateItem/portal_types/Software%20Product%20/view.xml
rename to bt5/erp5_software_pdm/ActionTemplateItem/portal_types/Software%20Product/view.xml
index dc069aaba5..2609d4fcc1 100644
--- a/bt5/erp5_software_pdm/ActionTemplateItem/portal_types/Software%20Product%20/view.xml
+++ b/bt5/erp5_software_pdm/ActionTemplateItem/portal_types/Software%20Product/view.xml
@@ -81,7 +81,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/SoftwareLicense_view</string> </value>
+            <value> <string>string:${object_url}/SoftwareProduct_view</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_software_pdm/PortalTypeBaseCategoryTemplateItem/base_category_list.xml b/bt5/erp5_software_pdm/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
index 942ef7a2ac..ed746f53c9 100644
--- a/bt5/erp5_software_pdm/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
+++ b/bt5/erp5_software_pdm/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
@@ -1,11 +1,11 @@
 <base_category_list>
- <portal_type id="Data Set Module">
-  <item>business_application</item>
+ <portal_type id="Sale Supply Line">
+  <item>aggregate</item>
  </portal_type>
- <portal_type id="License Module">
+ <portal_type id="Software License Module">
   <item>business_application</item>
  </portal_type>
- <portal_type id="Sale Supply Line">
-  <item>aggregate</item>
+ <portal_type id="Software Product Module">
+  <item>business_application</item>
  </portal_type>
 </base_category_list>
\ No newline at end of file
diff --git a/bt5/erp5_software_pdm/bt/revision b/bt5/erp5_software_pdm/bt/revision
index 43c451e0c6..7c6ba0fe18 100644
--- a/bt5/erp5_software_pdm/bt/revision
+++ b/bt5/erp5_software_pdm/bt/revision
@@ -1 +1 @@
-54
\ No newline at end of file
+55
\ No newline at end of file
diff --git a/bt5/erp5_software_pdm/bt/template_action_path_list b/bt5/erp5_software_pdm/bt/template_action_path_list
index 93c892dc1b..de7df0fae2 100644
--- a/bt5/erp5_software_pdm/bt/template_action_path_list
+++ b/bt5/erp5_software_pdm/bt/template_action_path_list
@@ -2,6 +2,6 @@ Software License Module | view
 Software License | related
 Software License | view
 Software License | view_editor
-Software Product  | view
 Software Product Module | view
-Software Product | sale_view
\ No newline at end of file
+Software Product | sale_view
+Software Product | view
\ No newline at end of file
diff --git a/bt5/erp5_software_pdm/bt/template_portal_type_base_category_list b/bt5/erp5_software_pdm/bt/template_portal_type_base_category_list
index e4cd78cd3c..6d8d3dc7c5 100644
--- a/bt5/erp5_software_pdm/bt/template_portal_type_base_category_list
+++ b/bt5/erp5_software_pdm/bt/template_portal_type_base_category_list
@@ -1,3 +1,3 @@
-Data Set Module | business_application
-License Module | business_application
-Sale Supply Line | aggregate
\ No newline at end of file
+Sale Supply Line | aggregate
+Software License Module | business_application
+Software Product Module | business_application
\ No newline at end of file
-- 
2.30.9