Commit c9944f90 authored by Fabien Morin's avatar Fabien Morin

- add apparel_fabric_template_title property

- hide listbox_thumbnail fields

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29385 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent eb6b23e9
...@@ -68,6 +68,16 @@ class ApparelFabric: ...@@ -68,6 +68,16 @@ class ApparelFabric:
'acquired_property_id': ('title','collection_list','colour_list','description','file','source_reference'), 'acquired_property_id': ('title','collection_list','colour_list','description','file','source_reference'),
# 'acquired_property_id': ('collection_list','colour_list','description','file','source_reference','title'), # 'acquired_property_id': ('collection_list','colour_list','description','file','source_reference','title'),
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'apparel_fabric_template_title',
'description' : 'Apparel fabric template title',
'type' : 'string',
'acquisition_base_category' : ('specialise',),
'acquisition_portal_type' : ('Apparel Fabric',),
'acquisition_copy_value' : 0,
'acquisition_mask_value' : 0,
'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None,
'mode' : 'w' },
) )
_categories = ( 'composition', 'visual_pattern', 'resource' ) _categories = ( 'composition', 'visual_pattern', 'resource' )
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
<string>right</string> <string>right</string>
<string>center</string> <string>center</string>
<string>bottom</string> <string>bottom</string>
<string>hidden</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -79,6 +80,14 @@ ...@@ -79,6 +80,14 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_thumbnail</string>
</list>
</value>
</item>
<item> <item>
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
...@@ -88,7 +97,6 @@ ...@@ -88,7 +97,6 @@
<string>my_apparel_shape_title_list</string> <string>my_apparel_shape_title_list</string>
<string>my_base_size</string> <string>my_base_size</string>
<string>my_apparel_measurement_title</string> <string>my_apparel_measurement_title</string>
<string>listbox_thumbnail</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
<string>right</string> <string>right</string>
<string>center</string> <string>center</string>
<string>bottom</string> <string>bottom</string>
<string>hidden</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -68,7 +69,6 @@ ...@@ -68,7 +69,6 @@
<value> <value>
<list> <list>
<string>listbox</string> <string>listbox</string>
<string>listbox_thumbnail</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -80,6 +80,14 @@ ...@@ -80,6 +80,14 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_thumbnail</string>
</list>
</value>
</item>
<item> <item>
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
<string>right</string> <string>right</string>
<string>center</string> <string>center</string>
<string>bottom</string> <string>bottom</string>
<string>hidden</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -79,6 +80,14 @@ ...@@ -79,6 +80,14 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_thumbnail</string>
</list>
</value>
</item>
<item> <item>
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
...@@ -87,6 +96,7 @@ ...@@ -87,6 +96,7 @@
<string>my_source_title</string> <string>my_source_title</string>
<string>my_quality_reference</string> <string>my_quality_reference</string>
<string>my_drawing_reference</string> <string>my_drawing_reference</string>
<string>my_apparel_fabric_template_title</string>
<string>my_resource</string> <string>my_resource</string>
<string>my_visual_pattern</string> <string>my_visual_pattern</string>
<string>my_trade_description</string> <string>my_trade_description</string>
...@@ -95,7 +105,6 @@ ...@@ -95,7 +105,6 @@
<string>my_net_width</string> <string>my_net_width</string>
<string>my_base_weight</string> <string>my_base_weight</string>
<string>composition_title</string> <string>composition_title</string>
<string>listbox_thumbnail</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -83,7 +83,9 @@ ...@@ -83,7 +83,9 @@
<item> <item>
<key> <string>hidden</string> </key> <key> <string>hidden</string> </key>
<value> <value>
<list/> <list>
<string>listbox_thumbnail</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -101,7 +103,6 @@ ...@@ -101,7 +103,6 @@
<string>my_tariff_nomenclature</string> <string>my_tariff_nomenclature</string>
<string>my_transformation_state_list</string> <string>my_transformation_state_list</string>
<string>composition_title</string> <string>composition_title</string>
<string>listbox_thumbnail</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
<string>right</string> <string>right</string>
<string>center</string> <string>center</string>
<string>bottom</string> <string>bottom</string>
<string>hidden</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -79,6 +80,14 @@ ...@@ -79,6 +80,14 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_thumbnail</string>
</list>
</value>
</item>
<item> <item>
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
...@@ -87,7 +96,6 @@ ...@@ -87,7 +96,6 @@
<string>my_shape_list</string> <string>my_shape_list</string>
<string>my_apparel_shape_title_list</string> <string>my_apparel_shape_title_list</string>
<string>my_feature</string> <string>my_feature</string>
<string>listbox_thumbnail</string>
</list> </list>
</value> </value>
</item> </item>
......
62 63
\ No newline at end of file \ 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