From 2447af2364d36103bec82423448c33e64578d55a Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Wed, 21 Nov 2012 11:48:56 +0100 Subject: [PATCH] Move payzen system preference --- .../slapos_payzen_system_preference.xml | 85 ++++++++++ .../SlapOSPayzenSystemPreference.xml | 66 ++++++++ ...erred_payzen_integration_site_property.xml | 0 .../SystemPreference_viewSlapOSPayzen.xml | 152 ++++++++++++++++++ .../my_preferred_payzen_integration_site.xml | 0 master/bt5/slapos_payzen/bt/revision | 2 +- .../bt/template_action_path_list | 3 +- .../bt/template_property_sheet_id_list | 1 + .../vifib_slap/SystemPreference_viewVifib.xml | 1 - master/bt5/vifib_slap/bt/revision | 2 +- 10 files changed, 308 insertions(+), 4 deletions(-) create mode 100644 master/bt5/slapos_payzen/ActionTemplateItem/portal_types/System%20Preference/slapos_payzen_system_preference.xml create mode 100644 master/bt5/slapos_payzen/PropertySheetTemplateItem/portal_property_sheets/SlapOSPayzenSystemPreference.xml rename master/bt5/{vifib_slap/PropertySheetTemplateItem/portal_property_sheets/VifibSystemPreference => slapos_payzen/PropertySheetTemplateItem/portal_property_sheets/SlapOSPayzenSystemPreference}/preferred_payzen_integration_site_property.xml (100%) create mode 100644 master/bt5/slapos_payzen/SkinTemplateItem/portal_skins/slapos_payzen/SystemPreference_viewSlapOSPayzen.xml rename master/bt5/{vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SystemPreference_viewVifib => slapos_payzen/SkinTemplateItem/portal_skins/slapos_payzen/SystemPreference_viewSlapOSPayzen}/my_preferred_payzen_integration_site.xml (100%) create mode 100644 master/bt5/slapos_payzen/bt/template_property_sheet_id_list diff --git a/master/bt5/slapos_payzen/ActionTemplateItem/portal_types/System%20Preference/slapos_payzen_system_preference.xml b/master/bt5/slapos_payzen/ActionTemplateItem/portal_types/System%20Preference/slapos_payzen_system_preference.xml new file mode 100644 index 000000000..fa48a8a87 --- /dev/null +++ b/master/bt5/slapos_payzen/ActionTemplateItem/portal_types/System%20Preference/slapos_payzen_system_preference.xml @@ -0,0 +1,85 @@ +<?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>slapos_payzen_system_preference</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>10.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>SlapOS Payzen</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}/SystemPreference_viewSlapOSPayzen</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/master/bt5/slapos_payzen/PropertySheetTemplateItem/portal_property_sheets/SlapOSPayzenSystemPreference.xml b/master/bt5/slapos_payzen/PropertySheetTemplateItem/portal_property_sheets/SlapOSPayzenSystemPreference.xml new file mode 100644 index 000000000..056a6e8dc --- /dev/null +++ b/master/bt5/slapos_payzen/PropertySheetTemplateItem/portal_property_sheets/SlapOSPayzenSystemPreference.xml @@ -0,0 +1,66 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Property Sheet" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_count</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_mt_index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_tree</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>SlapOSPayzenSystemPreference</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Property Sheet</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Length" module="BTrees.Length"/> + </pickle> + <pickle> <int>0</int> </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="OOBTree" module="BTrees.OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="OOBTree" module="BTrees.OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> +</ZopeData> diff --git a/master/bt5/vifib_slap/PropertySheetTemplateItem/portal_property_sheets/VifibSystemPreference/preferred_payzen_integration_site_property.xml b/master/bt5/slapos_payzen/PropertySheetTemplateItem/portal_property_sheets/SlapOSPayzenSystemPreference/preferred_payzen_integration_site_property.xml similarity index 100% rename from master/bt5/vifib_slap/PropertySheetTemplateItem/portal_property_sheets/VifibSystemPreference/preferred_payzen_integration_site_property.xml rename to master/bt5/slapos_payzen/PropertySheetTemplateItem/portal_property_sheets/SlapOSPayzenSystemPreference/preferred_payzen_integration_site_property.xml diff --git a/master/bt5/slapos_payzen/SkinTemplateItem/portal_skins/slapos_payzen/SystemPreference_viewSlapOSPayzen.xml b/master/bt5/slapos_payzen/SkinTemplateItem/portal_skins/slapos_payzen/SystemPreference_viewSlapOSPayzen.xml new file mode 100644 index 000000000..db4dfe61a --- /dev/null +++ b/master/bt5/slapos_payzen/SkinTemplateItem/portal_skins/slapos_payzen/SystemPreference_viewSlapOSPayzen.xml @@ -0,0 +1,152 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> <string>Base_edit</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>edit_order</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>enctype</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <list> + <string>left</string> + <string>right</string> + <string>center</string> + <string>bottom</string> + <string>hidden</string> + </list> + </value> + </item> + <item> + <key> <string>groups</string> </key> + <value> + <dictionary> + <item> + <key> <string>bottom</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>center</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>left</string> </key> + <value> + <list> + <string>my_preferred_payzen_integration_site</string> + </list> + </value> + </item> + <item> + <key> <string>right</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>SystemPreference_viewSlapOSPayzen</string> </value> + </item> + <item> + <key> <string>method</string> </key> + <value> <string>POST</string> </value> + </item> + <item> + <key> <string>name</string> </key> + <value> <string>SystemPreference_viewSlapOSPayzen</string> </value> + </item> + <item> + <key> <string>pt</string> </key> + <value> <string>form_view</string> </value> + </item> + <item> + <key> <string>row_length</string> </key> + <value> <int>4</int> </value> + </item> + <item> + <key> <string>stored_encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>SlapOS Payzen</string> </value> + </item> + <item> + <key> <string>unicode_mode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>update_action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>update_action_title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SystemPreference_viewVifib/my_preferred_payzen_integration_site.xml b/master/bt5/slapos_payzen/SkinTemplateItem/portal_skins/slapos_payzen/SystemPreference_viewSlapOSPayzen/my_preferred_payzen_integration_site.xml similarity index 100% rename from master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SystemPreference_viewVifib/my_preferred_payzen_integration_site.xml rename to master/bt5/slapos_payzen/SkinTemplateItem/portal_skins/slapos_payzen/SystemPreference_viewSlapOSPayzen/my_preferred_payzen_integration_site.xml diff --git a/master/bt5/slapos_payzen/bt/revision b/master/bt5/slapos_payzen/bt/revision index 24af08a48..3ca9062a1 100644 --- a/master/bt5/slapos_payzen/bt/revision +++ b/master/bt5/slapos_payzen/bt/revision @@ -1 +1 @@ -83 \ No newline at end of file +84 \ No newline at end of file diff --git a/master/bt5/slapos_payzen/bt/template_action_path_list b/master/bt5/slapos_payzen/bt/template_action_path_list index b6a080507..4e96db05e 100644 --- a/master/bt5/slapos_payzen/bt/template_action_path_list +++ b/master/bt5/slapos_payzen/bt/template_action_path_list @@ -1,2 +1,3 @@ Payzen Event Message | view -Payzen Event | view \ No newline at end of file +Payzen Event | view +System Preference | slapos_payzen_system_preference \ No newline at end of file diff --git a/master/bt5/slapos_payzen/bt/template_property_sheet_id_list b/master/bt5/slapos_payzen/bt/template_property_sheet_id_list new file mode 100644 index 000000000..d65b323a1 --- /dev/null +++ b/master/bt5/slapos_payzen/bt/template_property_sheet_id_list @@ -0,0 +1 @@ +SlapOSPayzenSystemPreference \ No newline at end of file diff --git a/master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SystemPreference_viewVifib.xml b/master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SystemPreference_viewVifib.xml index 8e814832c..de436bc79 100644 --- a/master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SystemPreference_viewVifib.xml +++ b/master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SystemPreference_viewVifib.xml @@ -94,7 +94,6 @@ <value> <list> <string>my_preferred_registration_resource</string> - <string>my_preferred_payzen_integration_site</string> <string>my_preferred_maximum_balance</string> <string>my_preferred_maximum_due_day</string> </list> diff --git a/master/bt5/vifib_slap/bt/revision b/master/bt5/vifib_slap/bt/revision index 54d5fa6f5..fea1e3e73 100644 --- a/master/bt5/vifib_slap/bt/revision +++ b/master/bt5/vifib_slap/bt/revision @@ -1 +1 @@ -881 \ No newline at end of file +882 \ No newline at end of file -- 2.30.9