4 <record model="ir.ui.view" id="view_hr_evaluation_plan_form">
5 <field name="name">hr_evaluation.plan.form</field>
6 <field name="model">hr_evaluation.plan</field>
7 <field name="type">form</field>
8 <field name="arch" type="xml">
9 <form string="Evaluation Plan">
10 <group col="6" colspan="4">
11 <field name="name" select="1"/>
12 <field name="company_id" select="1" widget="selection"/>
13 <field name="active"/>
14 <field name="month_first"/>
15 <field name="month_next"/>
16 <label string="(months)" align="0.0"/>
18 <notebook colspan="4">
19 <page string="Evaluation Phases">
20 <field name="phase_ids" nolabel="1" colspan="4"/>
26 <record model="ir.ui.view" id="view_hr_evaluation_plan_tree">
27 <field name="name">hr_evaluation.plan.form</field>
28 <field name="model">hr_evaluation.plan</field>
29 <field name="type">tree</field>
30 <field name="arch" type="xml">
31 <tree string="Evaluation Plan">
33 <field name="month_first"/>
34 <field name="month_next"/>
35 <field name="company_id"/>
39 <record model="ir.actions.act_window" id="open_view_hr_evaluation_plan_tree">
40 <field name="name">Evaluation Plans</field>
41 <field name="res_model">hr_evaluation.plan</field>
42 <field name="view_type">form</field>
43 <field name="view_mode">tree,form</field>
45 <menuitem name="Evaluations" parent="hr.menu_hr_root" id="menu_eval_hr" sequence="3"/>
48 name="Periodic Evaluations" parent="hr.menu_hr_configuration" id="menu_eval_hr_config" sequence="3"/>
50 parent="menu_eval_hr_config"
51 id="menu_open_view_hr_evaluation_plan_tree"
52 action="open_view_hr_evaluation_plan_tree"/>
54 <record model="ir.ui.view" id="view_hr_evaluation_plan_phase_form">
55 <field name="name">hr_evaluation.plan.phase.form</field>
56 <field name="model">hr_evaluation.plan.phase</field>
57 <field name="type">form</field>
58 <field name="arch" type="xml">
59 <form string="Evaluation Plan Phase">
61 <page string="General">
62 <field name="plan_id" invisible="1"/>
63 <group col="6" colspan="4">
66 <field name="sequence"/>
68 <group col="4" colspan="4">
69 <separator string="Action to Perform" colspan="4"/>
70 <field name="action"/>
71 <field name="survey_id"/>
73 <group col="4" colspan="4">
74 <group col="4" colspan="2">
75 <separator string="Send to Managers" colspan="2"/>
77 <field name="send_answer_manager"/>
79 <field name="send_anonymous_manager"/>
81 <group col="4" colspan="2">
82 <separator string="Send to Employees" colspan="2"/>
84 <field name="send_answer_employee"/>
86 <field name="send_anonymous_employee"/>
90 <page string="Mail Settings">
91 <field name="mail_feature"/>
93 <separator string="Mail Body"/>
95 <field name="mail_body" colspan="4" nolabel="1"/>
101 <record model="ir.ui.view" id="view_hr_evaluation_plan_phase_tree">
102 <field name="name">hr_evaluation.plan.phase.form</field>
103 <field name="model">hr_evaluation.plan.phase</field>
104 <field name="type">tree</field>
105 <field name="arch" type="xml">
106 <tree string="Evaluation Plan Phase" editable="bottom" >
107 <field name="sequence"/>
109 <field name="action"/>
110 <field name="survey_id"/>
116 <record id="hr_hr_employee_view_form" model="ir.ui.view">
117 <field name="name">hr.hr.employee.view.form</field>
118 <field name="model">hr.employee</field>
119 <field name="inherit_id" ref="hr.view_employee_form"/>
120 <field name="arch" type="xml">
121 <notebook position="inside">
122 <page string="Evaluation">
123 <field name="evaluation_plan_id" on_change="onchange_evaluation_plan_id(evaluation_plan_id, evaluation_date)"/>
124 <field name="evaluation_date"/>
130 <record model="ir.ui.view" id="view_hr_evaluation_form">
131 <field name="name">hr_evaluation.evaluation.form</field>
132 <field name="model">hr_evaluation.evaluation</field>
133 <field name="type">form</field>
134 <field name="arch" type="xml">
135 <form string="Evaluation">
136 <group col="4" colspan="3">
137 <separator string="Evaluation Data" colspan="4"/>
138 <field name="employee_id" on_change="onchange_employee_id(employee_id)"/>
139 <field name="plan_id"/>
141 <field name="progress" widget="progressbar"/>
143 <group col="2" colspan="1">
144 <separator string="Ending Summary" colspan="2"/>
145 <field name="rating" attrs="{'readonly':[('state','<>','progress')],'required':[('state','=','progress')]}"/>
146 <field name="date_close" readonly="1"/>
148 <notebook colspan="4">
149 <page string="Appraisal">
150 <field name="survey_request_ids" context="{'phase_id': phase_id}" nolabel="1" colspan="4" widget="one2many"/>
152 <page string="Internal Notes">
153 <field name="note_action" colspan="4" nolabel="1"
154 groups="hr.group_hr_manager"/>
156 <page string="Public Notes">
157 <field name="note_summary" colspan="4" nolabel="1"/>
161 <group col="6" colspan="4">
162 <field name="state"/>
163 <button name="button_plan_in_progress"
164 string="Plan In Progress"
167 <button name="button_final_validation"
168 string="Final Validation"
171 <button name="button_done"
175 <button name="button_cancel"
177 states="draft,wait,progress"
183 <record model="ir.ui.view" id="view_hr_evaluation_tree">
184 <field name="name">hr_evaluation.evaluation.tree</field>
185 <field name="model">hr_evaluation.evaluation</field>
186 <field name="type">tree</field>
187 <field name="arch" type="xml">
188 <tree string="Evaluation">
189 <!--field name="create_date"/-->
190 <field name="employee_id"/>
191 <field name="plan_id"/>
193 <field name="progress" widget="progressbar"/>
194 <field name="rating"/>
195 <field name="state"/>
200 <record id="hr_evaluation.evaluation_search" model="ir.ui.view">
201 <field name="name">hr_evaluation.evaluation_search</field>
202 <field name="model">hr_evaluation.evaluation</field>
203 <field name="type">search</field>
204 <field name="arch" type="xml">
205 <search string="Search Evaluation">
206 <group col='10' colspan='4'>
207 <filter icon="terp-hr" string="Draft" domain="[('state','=','draft')]"/>
208 <filter icon="terp-crm" string="In progress" domain="[('state','=','wait')]"/>
209 <filter icon="terp-mrp" string="Final Step" domain="[('state','=','progress')]"/>
210 <filter icon="terp-stock" string="Done" domain="[('state','=','done')]"/>
211 <separator orientation="vertical"/>
212 <field name="employee_id" widget="selection" select="1"/>
213 <field name="plan_id" widget="selection" select="1"/>
214 <field name="rating"/>
217 <group col='8' colspan='15' expand='1' string='Group by...'>
218 <filter string='Plan' icon="terp-stock" domain="[]" context="{'group_by' : 'plan_id'}" />
219 <filter string='state' icon="terp-stock" domain="[]" context="{'group_by' : 'state'}" />
226 <record model="ir.actions.act_window" id="open_view_hr_evaluation_tree">
227 <field name="res_model">hr_evaluation.evaluation</field>
228 <field name="view_type">form</field>
229 <field name="view_mode">tree,form</field>
230 <field name="search_view_id" ref="hr_evaluation.evaluation_search"/>
233 name="Evaluation" parent="menu_eval_hr"
234 id="menu_open_view_hr_evaluation_tree"
235 action="open_view_hr_evaluation_tree"/>
237 <record model="ir.ui.view" id="view_hr_evaluation_interview_form">
238 <field name="name">hr_evaluation.interview.form</field>
239 <field name="model">hr.evaluation.interview</field>
240 <field name="type">form</field>
241 <field name="arch" type="xml">
242 <form string="Interview Evaluation">
243 <group col="4" colspan="4">
244 <field name="survey_id" colspan="3"/>
246 <button name="%(survey.action_view_survey_question_message)d" string="Interview Question" type="action" states="waiting_answer,done,cancel"
247 icon="gtk-execute" context="{'survey_id': survey_id, 'response_id': [response], 'response_no':0, 'active' : response,'request' : True, 'object' : 'hr.evaluation.interview', 'cur_id' : active_id}" attrs="{'readonly':[('survey_id','=',False)]}"/>
248 <button name="%(survey.survey_browse_response)d" string="Print Interview" type="action" states="done"
249 icon="gtk-print" context="{'survey_id': survey_id, 'response_id' : [response], 'response_no':0,}" attrs="{'readonly':[('response','=',False)]}" />
252 <group col="4" colspan="4">
253 <field name="date_deadline"/>
254 <field name="response" readonly="1"/>
255 <field name="user_to_review_id"/>
256 <field name="user_id"/>
259 <separator string="State" colspan="4"/>
260 <group colspan="4" col="6">
261 <field name="state"/>
262 <!--<button name="survey_req_draft" string="Set to Draft" states="cancel,done" type="object" icon="gtk-new"/>
263 <button name="survey_req_waiting_answer" string="Waiting Answer" states="draft" type="object" icon="gtk-new"/>
264 <button name="survey_req_done" string="Done" states="waiting_answer" type="object" icon="gtk-ok"/>
265 <button name="survey_req_cancel" string="Cancelled" states="waiting_answer" type="object" icon="gtk-cancel"/>-->
271 <record model="ir.ui.view" id="view_hr_evaluation_interview_tree">
272 <field name="name">hr_evaluation.interview.tree</field>
273 <field name="model">hr.evaluation.interview</field>
274 <field name="type">tree</field>
275 <field name="arch" type="xml">
276 <tree string="Interview Evaluation">
277 <field name="date_deadline"/>
278 <field name="survey_id"/>
279 <field name="user_to_review_id"/>
280 <field name="response" readonly="1" invisible="True"/>
281 <button name="%(survey.action_view_survey_question_message)d" string="Interview Question" type="action" states="waiting_answer,done,cancel"
282 icon="gtk-execute" context="{'survey_id': survey_id, 'response_id': [response], 'response_no':0, 'active' : response, 'request' : True, 'object' : 'hr.evaluation.interview', 'cur_id' : active_id}" attrs="{'readonly':[('survey_id','=',False)]}"/>
283 <button name="%(survey.survey_browse_response)d" string="Print Interview" type="action" states="done"
284 icon="gtk-print" context="{'survey_id': survey_id, 'response_id' : [response], 'response_no':0}" attrs="{'readonly':[('response','=',False)]}" />
285 <field name="state"/>
290 <record id="view_hr_evaluation_interview_search" model="ir.ui.view">
291 <field name="name">view_hr_evaluation_interview_search</field>
292 <field name="model">hr.evaluation.interview</field>
293 <field name="type">search</field>
294 <field name="arch" type="xml">
295 <search string="Search Evaluation">
296 <group col='10' colspan='4'>
297 <filter icon="terp-crm" string="Unanswered" domain="[('state','=','waiting_answer')]"/>
298 <filter icon="terp-stock" string="Late" domain="[('date_deadline','<',current_date)]"/>
299 <separator orientation="vertical"/>
300 <field name="survey_id" widget="selection" select="1"/>
301 <field name="email" select="1"/>
302 <field name="user_id" select="1" widget="selection" default="1">
303 <filter string="MY" icon="terp-partner" domain="[('user_id','=',uid)]"/>
310 <record model="ir.actions.act_window" id="action_hr_evaluation_interview_tree">
311 <field name="res_model">hr.evaluation.interview</field>
312 <field name="view_type">form</field>
313 <field name="view_mode">tree,form</field>
314 <field name="domain">[('is_evaluation' ,'=', True)]</field>
315 <field name="search_view_id" ref="view_hr_evaluation_interview_search"/>
319 name="Intreview Requests" parent="menu_eval_hr"
320 id="menu_open_hr_evaluation_interview_requests"
321 action="action_hr_evaluation_interview_tree"/>