Merge types to new standard

Use Embebed File not Image
Add property sheet to Credential Update
Update portal types
parent cb40fb7e
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
<item>Address</item> <item>Address</item>
<item>Credential Question</item> <item>Credential Question</item>
<item>Email</item> <item>Email</item>
<item>Embedded File</item>
<item>Fax</item> <item>Fax</item>
<item>Image</item>
<item>Telephone</item> <item>Telephone</item>
</portal_type> </portal_type>
<portal_type id="Credential Update Module"> <portal_type id="Credential Update Module">
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
<item>Address</item> <item>Address</item>
<item>Credential Question</item> <item>Credential Question</item>
<item>Email</item> <item>Email</item>
<item>Embedded File</item>
<item>Fax</item> <item>Fax</item>
<item>Image</item>
<item>Telephone</item> <item>Telephone</item>
</portal_type> </portal_type>
<portal_type id="Person"> <portal_type id="Person">
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
<item>CredentialRequest</item> <item>CredentialRequest</item>
</portal_type> </portal_type>
<portal_type id="Credential Update"> <portal_type id="Credential Update">
<item>CredentialRequest</item>
<item>DefaultImage</item> <item>DefaultImage</item>
</portal_type> </portal_type>
<portal_type id="Person"> <portal_type id="Person">
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> <global name="Base Type" module="erp5.portal_type"/>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -55,6 +55,10 @@ ...@@ -55,6 +55,10 @@
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <string>Base Type</string> </value> <value> <string>Base Type</string> </value>
</item> </item>
<item>
<key> <string>type_class</string> </key>
<value> <string>XMLObject</string> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
...@@ -66,7 +70,9 @@ ...@@ -66,7 +70,9 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>domain_name</string> </key> <key> <string>domain_name</string> </key>
<value> <none/> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>property_name</string> </key> <key> <string>property_name</string> </key>
...@@ -83,7 +89,9 @@ ...@@ -83,7 +89,9 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>domain_name</string> </key> <key> <string>domain_name</string> </key>
<value> <none/> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>property_name</string> </key> <key> <string>property_name</string> </key>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> <global name="Base Type" module="erp5.portal_type"/>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> <global name="Base Type" module="erp5.portal_type"/>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -91,6 +91,10 @@ ...@@ -91,6 +91,10 @@
<key> <string>product</string> </key> <key> <string>product</string> </key>
<value> <string>ERP5Type</string> </value> <value> <string>ERP5Type</string> </value>
</item> </item>
<item>
<key> <string>type_class</string> </key>
<value> <string>CredentialRecovery</string> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
...@@ -153,7 +157,9 @@ ...@@ -153,7 +157,9 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>domain_name</string> </key> <key> <string>domain_name</string> </key>
<value> <none/> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>property_name</string> </key> <key> <string>property_name</string> </key>
...@@ -170,7 +176,9 @@ ...@@ -170,7 +176,9 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>domain_name</string> </key> <key> <string>domain_name</string> </key>
<value> <none/> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>property_name</string> </key> <key> <string>property_name</string> </key>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> <global name="Base Type" module="erp5.portal_type"/>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> <global name="Base Type" module="erp5.portal_type"/>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -105,6 +105,12 @@ ...@@ -105,6 +105,12 @@
<key> <string>type_class</string> </key> <key> <string>type_class</string> </key>
<value> <string>CredentialRequest</string> </value> <value> <string>CredentialRequest</string> </value>
</item> </item>
<item>
<key> <string>type_interface</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>type_mixin</string> </key> <key> <string>type_mixin</string> </key>
<value> <value>
...@@ -173,7 +179,9 @@ ...@@ -173,7 +179,9 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>domain_name</string> </key> <key> <string>domain_name</string> </key>
<value> <none/> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>property_name</string> </key> <key> <string>property_name</string> </key>
...@@ -190,7 +198,9 @@ ...@@ -190,7 +198,9 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>domain_name</string> </key> <key> <string>domain_name</string> </key>
<value> <none/> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>property_name</string> </key> <key> <string>property_name</string> </key>
...@@ -207,7 +217,9 @@ ...@@ -207,7 +217,9 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>domain_name</string> </key> <key> <string>domain_name</string> </key>
<value> <none/> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>property_name</string> </key> <key> <string>property_name</string> </key>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> <global name="Base Type" module="erp5.portal_type"/>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> <global name="Base Type" module="erp5.portal_type"/>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -97,6 +97,22 @@ ...@@ -97,6 +97,22 @@
<key> <string>product</string> </key> <key> <string>product</string> </key>
<value> <string>ERP5Type</string> </value> <value> <string>ERP5Type</string> </value>
</item> </item>
<item>
<key> <string>type_class</string> </key>
<value> <string>CredentialRequest</string> </value>
</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>
...@@ -159,7 +175,9 @@ ...@@ -159,7 +175,9 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>domain_name</string> </key> <key> <string>domain_name</string> </key>
<value> <none/> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>property_name</string> </key> <key> <string>property_name</string> </key>
...@@ -176,7 +194,9 @@ ...@@ -176,7 +194,9 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>domain_name</string> </key> <key> <string>domain_name</string> </key>
<value> <none/> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>property_name</string> </key> <key> <string>property_name</string> </key>
......
...@@ -78,7 +78,7 @@ if new_default_image is not None:\n ...@@ -78,7 +78,7 @@ if new_default_image is not None:\n
updated_item = context.getDestinationDecisionValue()\n updated_item = context.getDestinationDecisionValue()\n
default_image = updated_item.getDefaultImageValue()\n default_image = updated_item.getDefaultImageValue()\n
if default_image is None:\n if default_image is None:\n
default_image = updated_item.newContent(portal_type="Image",id="default_image")\n default_image = updated_item.newContent(portal_type="Embedded File",id="default_image")\n
\n \n
image_mapping = (\n image_mapping = (\n
# (credential image, item image)\n # (credential image, item image)\n
......
333 334
\ No newline at end of file \ No newline at end of file
...@@ -11,7 +11,7 @@ Credential Update Module | Credential Update ...@@ -11,7 +11,7 @@ Credential Update Module | Credential Update
Credential Update | Address Credential Update | Address
Credential Update | Credential Question Credential Update | Credential Question
Credential Update | Email Credential Update | Email
Credential Update | Embedded File
Credential Update | Fax Credential Update | Fax
Credential Update | Image
Credential Update | Telephone Credential Update | Telephone
Person | Credential Question Person | Credential Question
\ No newline at end of file
...@@ -8,7 +8,7 @@ Credential Request | Telephone ...@@ -8,7 +8,7 @@ Credential Request | Telephone
Credential Update | Address Credential Update | Address
Credential Update | Credential Question Credential Update | Credential Question
Credential Update | Email Credential Update | Email
Credential Update | Embedded File
Credential Update | Fax Credential Update | Fax
Credential Update | Image
Credential Update | Telephone Credential Update | Telephone
Person | Credential Question Person | Credential Question
\ No newline at end of file
Credential Question | CredentialQuestion Credential Question | CredentialQuestion
Credential Request | CredentialOrganisationProperties Credential Request | CredentialOrganisationProperties
Credential Request | CredentialRequest Credential Request | CredentialRequest
Credential Update | CredentialRequest
Credential Update | DefaultImage Credential Update | DefaultImage
Person | DefaultCredentialQuestion Person | DefaultCredentialQuestion
\ 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