From cbaf23f020df62cfd3320d1d4119bcb11ce28766 Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Tue, 13 Jul 2010 13:20:04 +0000
Subject: [PATCH] forget some license -> licence

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37083 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_types/Software%20Licence%20Module/view.xml       | 6 ++++--
 .../DocumentTemplateItem/SoftwareLicence.py                 | 6 +++---
 bt5/erp5_software_pdm/bt/revision                           | 2 +-
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/bt5/erp5_software_pdm/ActionTemplateItem/portal_types/Software%20Licence%20Module/view.xml b/bt5/erp5_software_pdm/ActionTemplateItem/portal_types/Software%20Licence%20Module/view.xml
index e83a2a68ad..e7ddc66502 100644
--- a/bt5/erp5_software_pdm/ActionTemplateItem/portal_types/Software%20Licence%20Module/view.xml
+++ b/bt5/erp5_software_pdm/ActionTemplateItem/portal_types/Software%20Licence%20Module/view.xml
@@ -33,7 +33,9 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>icon</string> </key>
@@ -81,7 +83,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/SoftwareLicenseModule_viewSoftwareLicenseList</string> </value>
+            <value> <string>string:${object_url}/SoftwareLicenceModule_viewSoftwareLicenceList</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_software_pdm/DocumentTemplateItem/SoftwareLicence.py b/bt5/erp5_software_pdm/DocumentTemplateItem/SoftwareLicence.py
index 9e90cfe434..c85bffd9af 100644
--- a/bt5/erp5_software_pdm/DocumentTemplateItem/SoftwareLicence.py
+++ b/bt5/erp5_software_pdm/DocumentTemplateItem/SoftwareLicence.py
@@ -32,12 +32,12 @@ from Products.ERP5Type import Permissions, PropertySheet
 from Products.ERP5.Document.Item import Item
 from Products.ERP5.Document.TextDocument import TextDocument
 
-class SoftwareLicense(Item, TextDocument):
+class SoftwareLicence(Item, TextDocument):
     """
     """
 
-    meta_type = 'ERP5 Software License'
-    portal_type = 'Software License'
+    meta_type = 'ERP5 Software Licence'
+    portal_type = 'Software Licence'
     add_permission = Permissions.AddPortalContent
 
     # Declarative security
diff --git a/bt5/erp5_software_pdm/bt/revision b/bt5/erp5_software_pdm/bt/revision
index eebd1d10b6..b2412e34df 100644
--- a/bt5/erp5_software_pdm/bt/revision
+++ b/bt5/erp5_software_pdm/bt/revision
@@ -1 +1 @@
-61
\ No newline at end of file
+62
\ No newline at end of file
-- 
2.30.9