Commit a519f8d4 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_crm: fix Add support for reference and embedded image in production variation

parent 371b8556
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_view</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>image_list</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>3.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Images</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Expression" module="Products.CMFCore.Expression"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Variation_viewImageList</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<item>DefaultImage</item> <item>DefaultImage</item>
</portal_type> </portal_type>
<portal_type id="Product Individual Variation"> <portal_type id="Product Individual Variation">
<item>DefaultImage</item>
<item>Reference</item> <item>Reference</item>
</portal_type> </portal_type>
<portal_type id="Supply Cell"> <portal_type id="Supply Cell">
......
...@@ -66,6 +66,18 @@ ...@@ -66,6 +66,18 @@
<key> <string>type_class</string> </key> <key> <string>type_class</string> </key>
<value> <string>Variation</string> </value> <value> <string>Variation</string> </value>
</item> </item>
<item>
<key> <string>type_interface</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>type_mixin</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -37,6 +37,10 @@ ...@@ -37,6 +37,10 @@
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <string>Base_edit</string> </value> <value> <string>Base_edit</string> </value>
</item> </item>
<item>
<key> <string>action_title</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -105,6 +109,7 @@ ...@@ -105,6 +109,7 @@
<list> <list>
<string>my_default_image_absolute_url</string> <string>my_default_image_absolute_url</string>
<string>my_default_image_file</string> <string>my_default_image_file</string>
<string>my_translated_visibility_state_title</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -33,6 +33,7 @@ Measure | view ...@@ -33,6 +33,7 @@ Measure | view
Organisation | jump_to_internal_supply Organisation | jump_to_internal_supply
Organisation | jump_to_purchase_supply Organisation | jump_to_purchase_supply
Organisation | jump_to_sale_supply Organisation | jump_to_sale_supply
Product Individual Variation | image_list
Product Individual Variation | view Product Individual Variation | view
Product Module | converted_inventory_report Product Module | converted_inventory_report
Product Module | transformed_inventory_report Product Module | transformed_inventory_report
......
Component | DefaultImage Component | DefaultImage
Measure Cell | Amount Measure Cell | Amount
Product Individual Variation | DefaultImage
Product Individual Variation | Reference Product Individual Variation | Reference
Product | DefaultImage Product | DefaultImage
Supply Cell | Reference Supply Cell | Reference
\ 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