Commit 715d5950 authored by Nicolas Delaby's avatar Nicolas Delaby

Replace follow_up category by agent category as Queries

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33701 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 55087911
<base_category_list>
<portal_type id="Data Protection Request">
<item>agent</item>
</portal_type>
<portal_type id="Data Protection Request Module">
<item>business_application</item>
</portal_type>
......
......@@ -62,7 +62,7 @@ reference_index = portal.portal_ids.generateNewId(id_group=(\'data_protection_re
reference = \'DPR-%s\' % (reference_index,)\n
data_protection = module.newContent(portal_type=portal_type,\n
contributor_value=current_user,\n
follow_up_value=context,\n
agent_value=context,\n
description=description,\n
reference=reference)\n
data_protection.submit()\n
......
......@@ -55,7 +55,7 @@
<key> <string>_body</string> </key>
<value> <string>from Products.ERP5Type.Document import newTempBase\n
portal = context.getPortalObject()\n
document_to_inspect = context.getFollowUpValue()\n
document_to_inspect = context.getAgentValue()\n
property_map_list = document_to_inspect.getPropertyMap()\n
\n
def filterPropertyMapList(property_map):\n
......
......@@ -92,7 +92,7 @@
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_follow_up_portal_type</string>
<string>listbox_agent_portal_type</string>
</list>
</value>
</item>
......
......@@ -89,7 +89,7 @@
<string>Reference</string>
</tuple>
<tuple>
<string>follow_up_portal_type</string>
<string>agent_portal_type</string>
<string>Type</string>
</tuple>
<tuple>
......@@ -97,8 +97,8 @@
<string>Request Description</string>
</tuple>
<tuple>
<string>follow_up_title</string>
<string>Follow Up</string>
<string>agent_title</string>
<string>Context</string>
</tuple>
<tuple>
<string>contributor_title</string>
......@@ -116,7 +116,7 @@
<value>
<list>
<tuple>
<string>follow_up_portal_type</string>
<string>agent_portal_type</string>
<string>Type</string>
</tuple>
</list>
......@@ -165,8 +165,8 @@
<string>Request Description</string>
</tuple>
<tuple>
<string>follow_up_title</string>
<string>Follow Up</string>
<string>agent_title</string>
<string>Context</string>
</tuple>
<tuple>
<string>contributor_title</string>
......@@ -196,8 +196,8 @@
<string>Request Description</string>
</tuple>
<tuple>
<string>follow_up_title</string>
<string>Follow Up</string>
<string>agent_title</string>
<string>Context</string>
</tuple>
<tuple>
<string>contributor_title</string>
......
......@@ -11,7 +11,7 @@
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_follow_up_portal_type</string> </value>
<value> <string>listbox_agent_portal_type</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......
......@@ -58,7 +58,7 @@ selection_name = \'data_protection_request_erase_data_selection\'\n
property_id_list = portal.portal_selections.getSelectionCheckedUidsFor(selection_name)\n
# clean up selection\n
portal.portal_selections.setSelectionCheckedUidsFor(selection_name, ())\n
document_to_cleanup = context.getFollowUpValue()\n
document_to_cleanup = context.getAgentValue()\n
clean_up_done = False\n
\n
# First: Purge workflow history comments\n
......
......@@ -77,9 +77,7 @@
<item>
<key> <string>bottom</string> </key>
<value>
<list>
<string>my_text_content</string>
</list>
<list/>
</value>
</item>
<item>
......@@ -87,6 +85,7 @@
<value>
<list>
<string>my_description</string>
<string>my_text_content</string>
</list>
</value>
</item>
......@@ -103,7 +102,7 @@
<value>
<list>
<string>my_reference</string>
<string>my_follow_up_title</string>
<string>my_agent_title</string>
<string>your_follow_up_portal_type</string>
</list>
</value>
......
......@@ -11,7 +11,7 @@
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>my_follow_up_title</string> </value>
<value> <string>my_agent_title</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -527,7 +527,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Follow Up</string> </value>
<value> <string>Context</string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
......
......@@ -273,7 +273,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.getFollowUpValue() is not None and here.getFollowUpValue().getTranslatedPortalType() or None</string> </value>
<value> <string>python: here.getAgentValue() is not None and here.getAgentValue().getTranslatedPortalType() or None</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -86,6 +86,7 @@
<key> <string>center</string> </key>
<value>
<list>
<string>your_agent_title</string>
<string>your_flush_worklfow_history_comment</string>
</list>
</value>
......@@ -99,9 +100,7 @@
<item>
<key> <string>left</string> </key>
<value>
<list>
<string>your_follow_title</string>
</list>
<list/>
</value>
</item>
<item>
......
24
\ No newline at end of file
27
\ No newline at end of file
Data Protection Request Module | business_application
Data Protection Request | agent
\ 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