[Erp5-report] r31031 fabien - in /erp5/trunk/bt5/erp5_apparel: PortalTypePropertySheetTempl...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 3 14:49:56 CET 2009


Author: fabien
Date: Thu Dec  3 14:49:56 2009
New Revision: 31031

URL: http://svn.erp5.org?rev=31031&view=rev
Log:
* remove ApparelFabricColourVariation property sheet from Apparel Fabric Colour Variation portal_type because the only property variation_base_category can now be defined using preferences.
* add some init scripts to set up the variation_base_category

Modified:
    erp5/trunk/bt5/erp5_apparel/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
    erp5/trunk/bt5/erp5_apparel/PortalTypeTemplateItem/portal_types/Apparel%20Colour%20Range%20Variation.xml
    erp5/trunk/bt5/erp5_apparel/PortalTypeTemplateItem/portal_types/Apparel%20Colour%20Range.xml
    erp5/trunk/bt5/erp5_apparel/PortalTypeTemplateItem/portal_types/Apparel%20Fabric%20Colour%20Variation.xml
    erp5/trunk/bt5/erp5_apparel/bt/revision
    erp5/trunk/bt5/erp5_apparel/bt/template_portal_type_property_sheet_list

Modified: erp5/trunk/bt5/erp5_apparel/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_apparel/PortalTypePropertySheetTemplateItem/property_sheet_list.xml?rev=31031&r1=31030&r2=31031&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_apparel/PortalTypePropertySheetTemplateItem/property_sheet_list.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_apparel/PortalTypePropertySheetTemplateItem/property_sheet_list.xml [utf8] Thu Dec  3 14:49:56 2009
@@ -20,9 +20,6 @@
  <portal_type id="Apparel Consumption">
   <item>ApparelConsumption</item>
  </portal_type>
- <portal_type id="Apparel Fabric Colour Variation">
-  <item>ApparelFabricColourVariation</item>
- </portal_type>
  <portal_type id="Apparel Model Colour Variation">
   <item>ApparelModelColourVariation</item>
  </portal_type>

Modified: erp5/trunk/bt5/erp5_apparel/PortalTypeTemplateItem/portal_types/Apparel%20Colour%20Range%20Variation.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_apparel/PortalTypeTemplateItem/portal_types/Apparel%2520Colour%2520Range%2520Variation.xml?rev=31031&r1=31030&r2=31031&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_apparel/PortalTypeTemplateItem/portal_types/Apparel%20Colour%20Range%20Variation.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_apparel/PortalTypeTemplateItem/portal_types/Apparel%20Colour%20Range%20Variation.xml [utf8] Thu Dec  3 14:49:56 2009
@@ -42,7 +42,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>A apparel colour range variation\n
+            <value> <string>A apparel colour range variation\r\n
 </string> </value>
         </item>
         <item>
@@ -67,11 +67,13 @@
         </item>
         <item>
             <key> <string>init_script</string> </key>
-            <value> <string></string> </value>
+            <value> <string>IndividualVariation_init</string> </value>
         </item>
         <item>
             <key> <string>permission</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>redirect_script</string> </key>

Modified: erp5/trunk/bt5/erp5_apparel/PortalTypeTemplateItem/portal_types/Apparel%20Colour%20Range.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_apparel/PortalTypeTemplateItem/portal_types/Apparel%2520Colour%2520Range.xml?rev=31031&r1=31030&r2=31031&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_apparel/PortalTypeTemplateItem/portal_types/Apparel%20Colour%20Range.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_apparel/PortalTypeTemplateItem/portal_types/Apparel%20Colour%20Range.xml [utf8] Thu Dec  3 14:49:56 2009
@@ -42,10 +42,10 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>      A apparel colour range\n
-      \n
-      It is considered here as a resource because planification can\n
-      eventually consider the sales of a certain quantity of items of a given ApparelColourRange\n
+            <value> <string>      A apparel colour range\r\n
+      \r\n
+      It is considered here as a resource because planification can\r\n
+      eventually consider the sales of a certain quantity of items of a given ApparelColourRange\r\n
 </string> </value>
         </item>
         <item>
@@ -68,11 +68,13 @@
         </item>
         <item>
             <key> <string>init_script</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Resource_init</string> </value>
         </item>
         <item>
             <key> <string>permission</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Modified: erp5/trunk/bt5/erp5_apparel/PortalTypeTemplateItem/portal_types/Apparel%20Fabric%20Colour%20Variation.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_apparel/PortalTypeTemplateItem/portal_types/Apparel%2520Fabric%2520Colour%2520Variation.xml?rev=31031&r1=31030&r2=31031&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_apparel/PortalTypeTemplateItem/portal_types/Apparel%20Fabric%20Colour%20Variation.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_apparel/PortalTypeTemplateItem/portal_types/Apparel%20Fabric%20Colour%20Variation.xml [utf8] Thu Dec  3 14:49:56 2009
@@ -42,7 +42,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>A Apparel Fabric Colour Variation\n
+            <value> <string>A Apparel Fabric Colour Variation\r\n
 </string> </value>
         </item>
         <item>
@@ -67,11 +67,13 @@
         </item>
         <item>
             <key> <string>init_script</string> </key>
-            <value> <string></string> </value>
+            <value> <string>IndividualVariation_init</string> </value>
         </item>
         <item>
             <key> <string>permission</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Modified: erp5/trunk/bt5/erp5_apparel/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_apparel/bt/revision?rev=31031&r1=31030&r2=31031&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_apparel/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_apparel/bt/revision [utf8] Thu Dec  3 14:49:56 2009
@@ -1,1 +1,1 @@
-198
+199

Modified: erp5/trunk/bt5/erp5_apparel/bt/template_portal_type_property_sheet_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_apparel/bt/template_portal_type_property_sheet_list?rev=31031&r1=31030&r2=31031&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_apparel/bt/template_portal_type_property_sheet_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_apparel/bt/template_portal_type_property_sheet_list [utf8] Thu Dec  3 14:49:56 2009
@@ -7,7 +7,6 @@
 Apparel Component Variation | Resource
 Apparel Component | DefaultSupply
 Apparel Consumption | ApparelConsumption
-Apparel Fabric Colour Variation | ApparelFabricColourVariation
 Apparel Model Colour Variation | ApparelModelColourVariation
 Apparel Model Morphology Variation | TransformedResource
 System Preference | ApparelPreference




More information about the Erp5-report mailing list