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:
'acquired_property_id': ('title','collection_list','colour_list','description','file','source_reference'),
# 'acquired_property_id': ('collection_list','colour_list','description','file','source_reference','title'),
'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' )
......
......@@ -56,6 +56,7 @@
<string>right</string>
<string>center</string>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
......@@ -79,6 +80,14 @@
</list>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_thumbnail</string>
</list>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value>
......@@ -88,7 +97,6 @@
<string>my_apparel_shape_title_list</string>
<string>my_base_size</string>
<string>my_apparel_measurement_title</string>
<string>listbox_thumbnail</string>
</list>
</value>
</item>
......
......@@ -56,6 +56,7 @@
<string>right</string>
<string>center</string>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
......@@ -68,7 +69,6 @@
<value>
<list>
<string>listbox</string>
<string>listbox_thumbnail</string>
</list>
</value>
</item>
......@@ -80,6 +80,14 @@
</list>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_thumbnail</string>
</list>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value>
......
......@@ -56,6 +56,7 @@
<string>right</string>
<string>center</string>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
......@@ -79,6 +80,14 @@
</list>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_thumbnail</string>
</list>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value>
......@@ -87,6 +96,7 @@
<string>my_source_title</string>
<string>my_quality_reference</string>
<string>my_drawing_reference</string>
<string>my_apparel_fabric_template_title</string>
<string>my_resource</string>
<string>my_visual_pattern</string>
<string>my_trade_description</string>
......@@ -95,7 +105,6 @@
<string>my_net_width</string>
<string>my_base_weight</string>
<string>composition_title</string>
<string>listbox_thumbnail</string>
</list>
</value>
</item>
......
......@@ -83,7 +83,9 @@
<item>
<key> <string>hidden</string> </key>
<value>
<list/>
<list>
<string>listbox_thumbnail</string>
</list>
</value>
</item>
<item>
......@@ -101,7 +103,6 @@
<string>my_tariff_nomenclature</string>
<string>my_transformation_state_list</string>
<string>composition_title</string>
<string>listbox_thumbnail</string>
</list>
</value>
</item>
......
......@@ -56,6 +56,7 @@
<string>right</string>
<string>center</string>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
......@@ -79,6 +80,14 @@
</list>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_thumbnail</string>
</list>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value>
......@@ -87,7 +96,6 @@
<string>my_shape_list</string>
<string>my_apparel_shape_title_list</string>
<string>my_feature</string>
<string>listbox_thumbnail</string>
</list>
</value>
</item>
......
62
\ No newline at end of file
63
\ 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