summaryrefslogtreecommitdiff
path: root/addons/rating_project_issue/data/project_issue_data.xml
diff options
context:
space:
mode:
authorjat-odoo <jat@openerp.com>2016-07-01 13:33:14 +0200
committerYannick Tivisse <yti@odoo.com>2016-07-01 14:05:03 +0200
commit0b1a27a3c7862bbe511614d05e04db696fcd71d5 (patch)
treecc555a78e008fe36c2427adf7eec7b26825fd2cc /addons/rating_project_issue/data/project_issue_data.xml
parent5560ac4a04ce21407e019965bc1a943b31e88211 (diff)
[REF,IMP] project,project_issue,rating: Handle ratings more efficiently
Purpose: For our internal project management, we would like to track the customer satisfaction on the open projects. We send them an email every one or 2 weeks allowing them to give a feedback by clicking on one of 3 smileys: Happy, Average, Angry. They can also put a additional explanation. We already have something similar which is working on livechat with a unusable reporting, and on issues but unusable. Our project are managed by tasks. Specification: - On the project : Selection fields : (Periodical Rating or Rating on Stage) + Fields to choose the period if periodical - On the stage : email_template_id field. - IF : ---> Periodical : Send an email to all the customers for the tasks on this stage periodically ---> On Stage : Send an email to the customer's tasks when the task reaches the stage - That way, it's impossible to send a satisfaction request both periodically and sequentially. FP request - Who is the customer : The customer on the task OR the customer on the related sales order OR the customer on the projet OR nobody - The last feedback is displayed on the task kanban card (Thumb up, down, or neutral) - On the project kanban card, the customer satisfaction is displayed. This is the simple mean of all the previous ratings.
Diffstat (limited to 'addons/rating_project_issue/data/project_issue_data.xml')
-rw-r--r--addons/rating_project_issue/data/project_issue_data.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/addons/rating_project_issue/data/project_issue_data.xml b/addons/rating_project_issue/data/project_issue_data.xml
new file mode 100644
index 00000000000..f247aaae5bd
--- /dev/null
+++ b/addons/rating_project_issue/data/project_issue_data.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+ <data>
+ <record id="mt_issue_rating" model="mail.message.subtype">
+ <field name="name">Issue Rating</field>
+ <field name="res_model">project.issue</field>
+ <field name="default" eval="True"/>
+ <field name="description">Ratings</field>
+ </record>
+
+ <record id="mt_project_issue_rating" model="mail.message.subtype">
+ <field name="name">Issue Rating</field>
+ <field name="sequence">24</field>
+ <field name="res_model">project.project</field>
+ <field name="default" eval="True"/>
+ <field name="parent_id" eval="ref('mt_issue_rating')"/>
+ <field name="relation_field">project_id</field>
+ </record>
+ </data>
+</openerp>