diff --git a/bt5/erp5_csv_style/ActionTemplateItem/portal_types/portal_properties/csv_export.xml b/bt5/erp5_csv_style/ActionTemplateItem/portal_types/portal_properties/csv_export.xml new file mode 100644 index 0000000000000000000000000000000000000000..259478b119810cb3281d6720550a1c145974de32 --- /dev/null +++ b/bt5/erp5_csv_style/ActionTemplateItem/portal_types/portal_properties/csv_export.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.ActionInformation</string> + <string>ActionInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_exchange</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>csv_export</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>1.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Export Csv File</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Base_exportCsvFileForm</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_csv_style/ActionTemplateItem/portal_types/portal_properties/csv_import.xml b/bt5/erp5_csv_style/ActionTemplateItem/portal_types/portal_properties/csv_import.xml new file mode 100644 index 0000000000000000000000000000000000000000..49bd9151380f688046d91a06174a3d5d9a4bb1ee --- /dev/null +++ b/bt5/erp5_csv_style/ActionTemplateItem/portal_types/portal_properties/csv_import.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.ActionInformation</string> + <string>ActionInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_exchange</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>csv_import</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>2.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Import Csv File</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Base_importCsvFileForm</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_csv_style/bt/change_log b/bt5/erp5_csv_style/bt/change_log index fbc1ba1a76d0df10ab806565a3dab8bb4da01132..b5752855ddef856b92784ea2d1fb3746b01a8a73 100644 --- a/bt5/erp5_csv_style/bt/change_log +++ b/bt5/erp5_csv_style/bt/change_log @@ -1,3 +1,6 @@ +2007-08-13 jerome +* Add csv_export & csv_import global actions + 2006-03-14 jerome * Don't display empty lines diff --git a/bt5/erp5_csv_style/bt/comment b/bt5/erp5_csv_style/bt/comment new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_csv_style/bt/provision_list b/bt5/erp5_csv_style/bt/provision_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_csv_style/bt/revision b/bt5/erp5_csv_style/bt/revision index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..d8263ee9860594d2806b0dfd1bfd17528b0ba2a4 100644 --- a/bt5/erp5_csv_style/bt/revision +++ b/bt5/erp5_csv_style/bt/revision @@ -0,0 +1 @@ +2 \ No newline at end of file diff --git a/bt5/erp5_csv_style/bt/short_title b/bt5/erp5_csv_style/bt/short_title new file mode 100644 index 0000000000000000000000000000000000000000..4af18322e32f3dd19579c80e26e4a306ad11e049 --- /dev/null +++ b/bt5/erp5_csv_style/bt/short_title @@ -0,0 +1 @@ +None \ No newline at end of file diff --git a/bt5/erp5_csv_style/bt/template_action_path_list b/bt5/erp5_csv_style/bt/template_action_path_list index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4a6477999a630ef06025973d24becb6e6c5690b2 100644 --- a/bt5/erp5_csv_style/bt/template_action_path_list +++ b/bt5/erp5_csv_style/bt/template_action_path_list @@ -0,0 +1,2 @@ +portal_properties | csv_export +portal_properties | csv_import \ No newline at end of file diff --git a/bt5/erp5_csv_style/bt/template_preference_list b/bt5/erp5_csv_style/bt/template_preference_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391