Commit a569bd1d authored by Fabien Morin's avatar Fabien Morin

* remove ApparelFabricColourVariation property sheet from Apparel Fabric...

* 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

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31031 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 135b0a22
...@@ -20,9 +20,6 @@ ...@@ -20,9 +20,6 @@
<portal_type id="Apparel Consumption"> <portal_type id="Apparel Consumption">
<item>ApparelConsumption</item> <item>ApparelConsumption</item>
</portal_type> </portal_type>
<portal_type id="Apparel Fabric Colour Variation">
<item>ApparelFabricColourVariation</item>
</portal_type>
<portal_type id="Apparel Model Colour Variation"> <portal_type id="Apparel Model Colour Variation">
<item>ApparelModelColourVariation</item> <item>ApparelModelColourVariation</item>
</portal_type> </portal_type>
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>A apparel colour range variation\n <value> <string>A apparel colour range variation\r\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -67,11 +67,13 @@ ...@@ -67,11 +67,13 @@
</item> </item>
<item> <item>
<key> <string>init_script</string> </key> <key> <string>init_script</string> </key>
<value> <string></string> </value> <value> <string>IndividualVariation_init</string> </value>
</item> </item>
<item> <item>
<key> <string>permission</string> </key> <key> <string>permission</string> </key>
<value> <string></string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>redirect_script</string> </key> <key> <string>redirect_script</string> </key>
......
...@@ -42,10 +42,10 @@ ...@@ -42,10 +42,10 @@
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string> A apparel colour range\n <value> <string> A apparel colour range\r\n
\n \r\n
It is considered here as a resource because planification can\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\n eventually consider the sales of a certain quantity of items of a given ApparelColourRange\r\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -68,11 +68,13 @@ ...@@ -68,11 +68,13 @@
</item> </item>
<item> <item>
<key> <string>init_script</string> </key> <key> <string>init_script</string> </key>
<value> <string></string> </value> <value> <string>Resource_init</string> </value>
</item> </item>
<item> <item>
<key> <string>permission</string> </key> <key> <string>permission</string> </key>
<value> <string></string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>A Apparel Fabric Colour Variation\n <value> <string>A Apparel Fabric Colour Variation\r\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -67,11 +67,13 @@ ...@@ -67,11 +67,13 @@
</item> </item>
<item> <item>
<key> <string>init_script</string> </key> <key> <string>init_script</string> </key>
<value> <string></string> </value> <value> <string>IndividualVariation_init</string> </value>
</item> </item>
<item> <item>
<key> <string>permission</string> </key> <key> <string>permission</string> </key>
<value> <string></string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
198 199
\ No newline at end of file \ No newline at end of file
...@@ -7,7 +7,6 @@ Apparel Component Variation | ApparelComponentVariation ...@@ -7,7 +7,6 @@ Apparel Component Variation | ApparelComponentVariation
Apparel Component Variation | Resource Apparel Component Variation | Resource
Apparel Component | DefaultSupply Apparel Component | DefaultSupply
Apparel Consumption | ApparelConsumption Apparel Consumption | ApparelConsumption
Apparel Fabric Colour Variation | ApparelFabricColourVariation
Apparel Model Colour Variation | ApparelModelColourVariation Apparel Model Colour Variation | ApparelModelColourVariation
Apparel Model Morphology Variation | TransformedResource Apparel Model Morphology Variation | TransformedResource
System Preference | ApparelPreference System Preference | ApparelPreference
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment