[IMP] improves the reporting view Expenses Analysis (add some measures to the table...
[odoo/odoo.git] / addons / survey / specification / specification.txt
1 Date : 8th October, 2009
2 Created by : Harshad Modi(hmo) and Yogesh(ysa)
3 --------------------------------------------------------------------------------------
4
5                         ****  Specification of Survay module in OpenERP ****
6
7
8 Basic Requirements :
9 ======================================================================================
10 > Design own survey form
11 > Desing own Questionaries
12 > Collect Response
13 > Analyze Result 
14
15 Design own survey form:    
16 ---------------------------------------------------------------
17 Allow to make multiple own survey pages with multiple questions with different question type.
18
19 Note : After finish first Phase of Development, Allow to design page template to specify customize theme for bgcolor, bgimage, font style, font color
20
21
22 Design Questinaries :
23 -------------------------------------------------------
24 Questinaries should has :
25 * can specify question text
26 * can make Answer sheet
27 Question Type:
28 * Survey Admin can able to  design answer option like:
29 - Mutiple Choice with one answer 
30 - Mutilpe Choice with multiple answer 
31
32
33 Collect Response :
34 ---------------------------------------------------------
35 Survey Admin can able to  :
36 - Create a link
37 - Send a survey invitation to others peple by mail
38 - Allow to set max limit of  Response
39 - Survey Admin can able to close survey
40
41 Analyze Result :
42 ----------------------------------------------------------
43 - Show Result with all Survey pages with total responses, responce count and calculate avarage response.
44
45
46
47
48
49
50
51
52 OpenERP model Design :
53 ====================================================================
54 survey :
55 -------------------------------------------
56 title - char(128)
57 pages_ids   - one2many(survey_page)
58 date_open
59 date_close
60 survey_link
61 max_response_limit
62 status (draft, open, close, cancel)
63 resposible - many2one (res.user)
64
65 survey_page:
66 -------------------------------------------------------------------
67 title - char(128)
68 page_template_id - many2one( survey_page_template)
69 survey_id - many2one(survey)
70 question_ids  - one2many(survey_question)
71 sequence - int
72 note - char(256)
73
74 survey_question:
75 --------------------------------------------------------------
76 page_id - many2one(survey_page)
77 question  - char(128)
78 answer_choice_ids - one2many(survey_answer)
79 response_ids - one2many(survey_response)
80 is_require_answer
81 allow_comment
82 sequence - int
83
84 survey_answer:
85 --------------------------------------------------------------------------
86 question_id - many2one(survey_question)
87 answer - char(128)
88 sequence - int
89
90 survey_response:
91 --------------------------------------------------------------------
92 date_create
93 date_modify
94 status (done, skip)
95 response_by - many2one(res.users)
96 question_id - many2one(survey_question)
97 response_type ( from manual, link, mail)
98 response_answer_ids - one2many(survey_response_answer)
99
100 survey_response_answer:
101 --------------------------------------------------------------------
102 response_id - many2one(survey_response)
103 question_id - many2one(survey_answer)
104 comment
105
106
107 OpenERP View Design:
108 ==================================================
109
110 Survey View :
111
112 see survey.png file
113
114 Survey Pages  View:
115
116 see survey_page.png file
117
118 Survey Question View:
119
120 see survey_qyestion.png file
121
122 Survey Response View :
123
124 see survey_response.png file
125
126
127
128 OpenERP Report Design : 
129 ===================================================
130
131 Design postgres view to display statistical information of response per question, response per user, etc..
132 More detail will be provided later.
133
134
135 OpenERP Menu Design : 
136 =====================================================
137
138 Survey Management :
139             > Surveys
140                 > All Surveys
141                 >  New Survey
142             > Survey Pages
143                 > All Survey Pages
144                 > New Survey Page
145             > Survey Response
146                 > All Survey Responses
147                 > New Survey Response
148             > Reports
149                 > Response per Survey
150                 > Response per Survey Page
151                 > Response per Question
152                 > Response per User
153
154 References :
155 ===============================================
156 http://www.surveymonkey.com/
157