From 1798917da8ebf1a748bc7b8718521dd15923abd9 Mon Sep 17 00:00:00 2001
From: Thibaut Deheunynck <thibaut@nexedi.com>
Date: Fri, 12 Sep 2008 08:07:37 +0000
Subject: [PATCH] 2008-09-12 thibaut I forgot to commit action in order to
 generate project monthly report.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23579 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../Project/project_monthly_report.xml        | 83 +++++++++++++++++++
 bt5/erp5_project/bt/revision                  |  2 +-
 bt5/erp5_project/bt/template_action_path_list |  1 +
 3 files changed, 85 insertions(+), 1 deletion(-)
 create mode 100644 bt5/erp5_project/ActionTemplateItem/portal_types/Project/project_monthly_report.xml

diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Project/project_monthly_report.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Project/project_monthly_report.xml
new file mode 100644
index 0000000000..6d1423eda0
--- /dev/null
+++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Project/project_monthly_report.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
+        <tuple/>
+      </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_report</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>project_monthly_report</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>30.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Project Monthly Report</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>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/Project_viewODSMonthlyReportPrintDialog</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_project/bt/revision b/bt5/erp5_project/bt/revision
index 7dfce3516b..995fb338a8 100644
--- a/bt5/erp5_project/bt/revision
+++ b/bt5/erp5_project/bt/revision
@@ -1 +1 @@
-594
\ No newline at end of file
+593
\ No newline at end of file
diff --git a/bt5/erp5_project/bt/template_action_path_list b/bt5/erp5_project/bt/template_action_path_list
index 3c6676880a..6d4c85ef43 100644
--- a/bt5/erp5_project/bt/template_action_path_list
+++ b/bt5/erp5_project/bt/template_action_path_list
@@ -26,6 +26,7 @@ Project | document_list
 Project | jump_to_related_sale_order_lines
 Project | milestone
 Project | planning
+Project | project_monthly_report
 Project | project_task_report
 Project | report
 Project | task_fast_input_dialog
-- 
2.30.9