Commit 5ea99e8c authored by Jérome Perrin's avatar Jérome Perrin

Add default_image on Component.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20249 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f16eee08
<allowed_content_type_list> <allowed_content_type_list>
<portal_type id="Component"> <portal_type id="Component">
<item>Sale Supply Line</item>
<item>Purchase Supply Line</item> <item>Purchase Supply Line</item>
<item>Sale Supply Line</item>
<item>Supply Line</item> <item>Supply Line</item>
<item>Image</item>
</portal_type> </portal_type>
<portal_type id="Component Module"> <portal_type id="Component Module">
<item>Component</item> <item>Component</item>
......
<hidden_content_type_list> <hidden_content_type_list>
<portal_type id="Component"> <portal_type id="Component">
<item>Sale Supply Line</item>
<item>Purchase Supply Line</item> <item>Purchase Supply Line</item>
<item>Sale Supply Line</item>
<item>Supply Line</item> <item>Supply Line</item>
<item>Image</item>
</portal_type> </portal_type>
<portal_type id="Product"> <portal_type id="Product">
<item>Image</item> <item>Image</item>
......
<property_sheet_list> <property_sheet_list>
<portal_type id="Component">
<item>DefaultImage</item>
</portal_type>
<portal_type id="Product"> <portal_type id="Product">
<item>DefaultImage</item> <item>DefaultImage</item>
</portal_type> </portal_type>
......
...@@ -100,6 +100,8 @@ ...@@ -100,6 +100,8 @@
<string>my_ean13_code</string> <string>my_ean13_code</string>
<string>my_aggregated_portal_type_list</string> <string>my_aggregated_portal_type_list</string>
<string>my_required_aggregated_portal_type_list</string> <string>my_required_aggregated_portal_type_list</string>
<string>my_default_image_path</string>
<string>my_default_image_file</string>
</list> </list>
</value> </value>
</item> </item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>description</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_default_image_file</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>description</string> </key>
<value> <string>Upload the photo for this person.</string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_file</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>File_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>title</string>
<string>description</string>
<string>default</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_default_image_path</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_thumbnail</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>File_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Image</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
2008-03-31 jerome 2008-03-31 jerome
* Add default_image on Products. * Add default_image on Products and Component.
2008-02-07 alex 2008-02-07 alex
* proxify some fields, use Resource_viewFieldLibrary instead of BasePdm_fieldLibrary * proxify some fields, use Resource_viewFieldLibrary instead of BasePdm_fieldLibrary
......
77 79
\ No newline at end of file \ No newline at end of file
Component Module | Component Component Module | Component
Component | Image
Component | Purchase Supply Line Component | Purchase Supply Line
Component | Sale Supply Line Component | Sale Supply Line
Component | Supply Line Component | Supply Line
......
Component | Image
Component | Purchase Supply Line Component | Purchase Supply Line
Component | Sale Supply Line Component | Sale Supply Line
Component | Supply Line Component | Supply Line
......
Component | DefaultImage
Product | DefaultImage Product | DefaultImage
\ 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