summaryrefslogtreecommitdiff
path: root/addons/project_issue/project_issue_data.xml
diff options
context:
space:
mode:
authorCedric Snauwaert <csn@openerp.com>2012-11-19 16:45:51 +0100
committerCedric Snauwaert <csn@openerp.com>2012-11-19 16:45:51 +0100
commit7e193e691cba10cb0f297de47bfd53ef27665768 (patch)
tree0dc14e23a09aaa6921cc4aa03aa0aee33249d2ed /addons/project_issue/project_issue_data.xml
parent2ebf9e89fad0729b85bb8844e575ad2149bd9a1b (diff)
parentd9d127403b71d3fd401d3baf37b522b20ba89278 (diff)
[MERGE]merge with latest addons
bzr revid: csn@openerp.com-20121119154551-y8uizex6hu7fu1eo
Diffstat (limited to 'addons/project_issue/project_issue_data.xml')
-rw-r--r--addons/project_issue/project_issue_data.xml37
1 files changed, 29 insertions, 8 deletions
diff --git a/addons/project_issue/project_issue_data.xml b/addons/project_issue/project_issue_data.xml
index a191cb4454f..c1460167097 100644
--- a/addons/project_issue/project_issue_data.xml
+++ b/addons/project_issue/project_issue_data.xml
@@ -32,13 +32,34 @@
</record>
<!-- notify all employees of module installation -->
- <function model="mail.group" name="message_append_note">
- <!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
- <value eval="[ref('mail.group_all_employees')]"/>
- <value>Module Issues Tracker has been installed.</value>
- <value>Manage the issues you might face in a project, like bugs in a system, client complaints or material breakdowns. You can record issues, assign them to some responsible person, and keep track of their status as they evolve over time.
-
-You can access issues from the top menu Project, and access the issues of a specific project from the projects gallery view.</value>
- </function>
+ <record model="mail.message" id="module_install_notification">
+ <field name="model">mail.group</field>
+ <field name="res_id" ref="mail.group_all_employees"/>
+ <field name="type">notification</field>
+ <field name="subtype_id" ref="mail.mt_comment"/>
+ <field name="subject">Issue Tracker application installed!</field>
+ <field name="body"><![CDATA[<p>Manage the issues you might face in a project, such as bugs in a system, client complaints or material breakdowns.</p><p>
+You can record issues, assign them to a responsible person, and keep track of their status as they evolve over time.</p><p>
+Access all issues from the top Project menu, and access the issues of a specific project via the projects gallery view.</p>]]></field>
+ </record>
+
+ <!-- Mail subtypes -->
+ <record id="mail.mt_issue_new" model="mail.message.subtype">
+ <field name="name">New</field>
+ <field name="res_model">project.issue</field>
+ </record>
+ <record id="mail.mt_issue_closed" model="mail.message.subtype">
+ <field name="name">Closed</field>
+ <field name="res_model">project.issue</field>
+ </record>
+ <record id="mail.mt_issue_canceled" model="mail.message.subtype">
+ <field name="name">Canceled</field>
+ <field name="res_model">project.issue</field>
+ </record>
+ <record id="mail.mt_issue_change" model="mail.message.subtype">
+ <field name="name">Stage Changed</field>
+ <field name="res_model">project.issue</field>
+ </record>
+
</data>
</openerp>