Commit 88bdb0e7 authored by Romain Courteaud's avatar Romain Courteaud

Display Regularisation Request on the web site.

parent 28536870
<?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_web_view</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_web_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</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>web_view</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>0.5</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Web View</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}/Ticket_viewAsWeb</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="Expression" module="Products.CMFCore.Expression"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: object is not None and object.isWebMode()</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -79,7 +79,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/SupportRequest_viewAsWeb</string> </value>
<value> <string>string:${object_url}/Ticket_viewAsWeb</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -65,7 +65,7 @@ for event in event_list:\n
result.append(\n
ReportSection(\n
path=context.getPhysicalPath(),\n
form_id=\'SupportRequest_viewUpdateTicketDialog\',\n
form_id=\'Ticket_viewUpdateTicketDialog\',\n
)\n
)\n
\n
......@@ -78,7 +78,7 @@ return result\n
</item>
<item>
<key> <string>id</string> </key>
<value> <string>SupportRequest_getEventThreadList</string> </value>
<value> <string>Ticket_getEventThreadList</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -88,7 +88,7 @@ web_site.Base_redirect(\'view\', keep_items={\'editable_mode\': 0, \'portal_stat
</item>
<item>
<key> <string>id</string> </key>
<value> <string>SupportRequest_updateTicketWebMode</string> </value>
<value> <string>Ticket_updateTicketWebMode</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -110,7 +110,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>SupportRequest_viewAsWeb</string> </value>
<value> <string>Ticket_viewAsWeb</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -118,7 +118,7 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>HostingSubscription_viewAsWeb</string> </value>
<value> <string>Ticket_viewAsWeb</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
......
......@@ -81,7 +81,7 @@
</item>
<item>
<key> <string>report_method</string> </key>
<value> <string>SupportRequest_getEventThreadList</string> </value>
<value> <string>Ticket_getEventThreadList</string> </value>
</item>
<item>
<key> <string>target</string> </key>
......
......@@ -88,7 +88,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>SupportRequest_viewUpdateTicketDialog</string> </value>
<value> <string>Ticket_viewUpdateTicketDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......
......@@ -117,7 +117,7 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>SupportRequest_updateTicketWebMode:method</string> </value>
<value> <string>Ticket_updateTicketWebMode:method</string> </value>
</item>
<item>
<key> <string>target</string> </key>
......
......@@ -50,9 +50,10 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>kw[\'portal_type\'] = \'Support Request\'\n
<value> <string>portal = context.getPortalObject()\n
kw[\'portal_type\'] = ["Support Request", "Regularisation Request"]\n
\n
person = context.getPortalObject().ERP5Site_getAuthenticatedMemberPersonValue()\n
person = portal.ERP5Site_getAuthenticatedMemberPersonValue()\n
if person:\n
kw[\'default_destination_decision_uid\'] = person.getUid()\n
kw[\'sort_on\'] = [(\'modification_date\', \'DESC\'),]\n
......@@ -68,7 +69,7 @@ else:\n
</item>
<item>
<key> <string>id</string> </key>
<value> <string>WebSection_getUserSupportRequestList</string> </value>
<value> <string>WebSection_getUserTicketList</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -138,12 +138,7 @@
<item>
<key> <string>portal_types</string> </key>
<value>
<list>
<tuple>
<string>Support Request</string>
<string>Support Request</string>
</tuple>
</list>
<list/>
</value>
</item>
<item>
......@@ -156,7 +151,7 @@
</item>
<item>
<key> <string>selection_name</string> </key>
<value> <string>my_support_request_selection</string> </value>
<value> <string>my_ticket_selection</string> </value>
</item>
<item>
<key> <string>target</string> </key>
......@@ -199,7 +194,7 @@
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>WebSection_getUserSupportRequestList</string> </value>
<value> <string>WebSection_getUserTicketList</string> </value>
</item>
</dictionary>
</pickle>
......
38
\ No newline at end of file
39
\ No newline at end of file
Computer Network | web_view
Computer | web_view
Hosting Subscription | web_view
Regularisation Request | web_view
Slave Instance | web_view
Software Installation | web_view
Software Instance | web_view
......
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