diff --git a/bt5/erp5_pdf_style/ActionTemplateItem/portal_types/portal_properties/print.xml b/bt5/erp5_pdf_style/ActionTemplateItem/portal_types/portal_properties/print.xml new file mode 100644 index 0000000000000000000000000000000000000000..32fb9855b23f8e15b30b457de9b4a1fba21f715c --- /dev/null +++ b/bt5/erp5_pdf_style/ActionTemplateItem/portal_types/portal_properties/print.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_print</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>print</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>Print</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_printPdf</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_pdf_style/bt/change_log b/bt5/erp5_pdf_style/bt/change_log index a53a716d82a98bad2b638873e509dc3a19387710..562f3bd9f95126d000dbc3684133e1b0944145b2 100644 --- a/bt5/erp5_pdf_style/bt/change_log +++ b/bt5/erp5_pdf_style/bt/change_log @@ -1,3 +1,6 @@ +2007-08-13 jerome +* Add a global print action + 2006-05-12 jerome * remove debug info in generated XML by listbox macro diff --git a/bt5/erp5_pdf_style/bt/comment b/bt5/erp5_pdf_style/bt/comment new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_pdf_style/bt/revision b/bt5/erp5_pdf_style/bt/revision index 3e932fe8f188bb6dbcb02afe1306fa6e0b90357b..dce6588ca1420a69eea5699f2ec5d666daf16a6a 100644 --- a/bt5/erp5_pdf_style/bt/revision +++ b/bt5/erp5_pdf_style/bt/revision @@ -1 +1 @@ -34 \ No newline at end of file +36 \ No newline at end of file diff --git a/bt5/erp5_pdf_style/bt/template_action_path_list b/bt5/erp5_pdf_style/bt/template_action_path_list index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2d3c622ec1670cd6265c339bd880c0f24911ca0d 100644 --- a/bt5/erp5_pdf_style/bt/template_action_path_list +++ b/bt5/erp5_pdf_style/bt/template_action_path_list @@ -0,0 +1 @@ +portal_properties | print \ No newline at end of file