Commit 0ac54fa1 authored by Georgios Dagkakis's avatar Georgios Dagkakis

erp5_credential: Add also social_title to mapping of CredentialUpdate_updatePersonInformation

And add related field to CredentialUpdate_view
parent 53402cd4
...@@ -6,6 +6,7 @@ person = context.getDestinationDecisionValue(portal_type="Person") ...@@ -6,6 +6,7 @@ person = context.getDestinationDecisionValue(portal_type="Person")
# Person Mapping # Person Mapping
person_mapping = ( person_mapping = (
# (credential, person) # (credential, person)
('social_title', 'social_title'),
('first_name', 'first_name'), ('first_name', 'first_name'),
('last_name', 'last_name'), ('last_name', 'last_name'),
('gender', 'gender'), ('gender', 'gender'),
......
...@@ -111,6 +111,7 @@ ...@@ -111,6 +111,7 @@
<key> <string>left (Personal Information)</string> </key> <key> <string>left (Personal Information)</string> </key>
<value> <value>
<list> <list>
<string>my_social_title</string>
<string>my_first_name</string> <string>my_first_name</string>
<string>my_last_name</string> <string>my_last_name</string>
<string>my_gender</string> <string>my_gender</string>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>title</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_social_title</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>field_id</string> </key>
<value> <string>my_view_mode_category</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_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>Title</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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